Skip to main content

Module git

Module git 

Source
Expand description

Reads git status --porcelain=v1 for the workspace subtree and reduces it to the branch name plus added, modified, and deleted file counts.

The collector uses read-only git commands with optional locks disabled.

Structs§

GitStatusItem
One parsed porcelain status item.
GitStatusSummary
Bounded semantic summary of the workspace git state.

Enums§

GitStatusKind
A changed-file category reported by git status.

Functions§

collect
Collect a semantic status summary without changing the workspace.