Skip to main content

Module magit_stash_mode

Module magit_stash_mode 

Source
Expand description

MG.9: magit-stash major mode.

Lists stash entries with apply/pop/drop/create operations.

Structs§

MagitStashMode
StashState

Functions§

list_row
One row of the stash list. The single writer of this format — [stash_index_at_cursor] is its only reader, and highlight::stash_styled_spans colours it by the same offsets.
parse_index
" stash@{N} message" → N. The reader half of list_row, split out as a free function so the round-trip between the two is testable without a live buffer — the seam where they drifted apart is what left every chord in this buffer dead.

Type Aliases§

StashStatesHandle
MG.13: service alias for this mode’s per-buffer state — register and look up through this exact type (feedback_servicesregistry_arc_typeid).