Skip to main content

Crate strop_git

Crate strop_git 

Source
Expand description

strop-git: the working surface (0001 pillar 3.1). libgit2 for the hot paths — no process spawn per keystroke. HEAD vs the live buffer (not the disk file), so gutter signs track unsaved edits.

Modules§

memory
Git memory (M3, 0001 pillar 3.2/3.3): log graph, blame, permalinks. Reads via shell git (matches user config; not hot-path), permalinks via libgit2 config (no spawn).

Structs§

Hunk
One diff hunk between HEAD and the buffer, in 1-based buffer lines.
Repo

Enums§

HunkKind
Sign
One changed line, for gutter signs. Hunk headers include context lines, so signs track the +/- lines, not the header range.