Expand description
A working-tree view: branch, status counts, changed files, and per-file line stats,
from git.css, on upstream’s fc-git model.
It runs no Git and parses no porcelain: it is a view over status entries the application already has, from libgit2, a binding, or anywhere else.
Re-exports§
pub use GitSurface_completions::Component::GitSurface;
Structs§
- GitEntry
- One changed file.
- GitSurface
Props - Properties for the
GitSurfacecomponent.
Enums§
- File
State - Where a file is, on one side (index or worktree).
Functions§
- GitSurface
- The branch, the status counts, and the changed files as a grid with one tab stop. Arrows, Home, and End move the selection; a Stage button sits on each unstaged file.
- ordered
- Entries in the order that needs attention first: conflicts, then files changed on both sides, then the rest, each group by path.
- summary
- “1 conflicted · 2 staged · 3 not staged · 1 untracked”, or “Working tree clean”.