Skip to main content

Module actions

Module actions 

Source
Expand description

MG.3: magit-status action handlers.

Each handler captures shared state from the mode’s Guard so it can read the cursor line, resolve the repo, and invoke git operations. Async operations (diff expansion, refresh) use the stored tokio handle — no Runtime::new(), no block_on.

Structs§

StatusBufferState
StatusView
The status buffer’s MagitView — supplies gr’s body for buffers magit-status-mode owns.

Functions§

status_action_handlers
MG.13: magit-status’s action handlers, registered once at boot by MagitStatusMode::action_handlers().
trigger_refresh
gr — bare refresh of the status buffer, no prior mutation.

Type Aliases§

StatusStatesHandle
MG.13: service alias for magit-status’s per-buffer state (feedback_servicesregistry_arc_typeid).