Skip to main content

Crate f00_git

Crate f00_git 

Source
Expand description

Optional git status integration for f00.

Uses git status --porcelain as a lightweight subprocess (no libgit2). Results are cached per repo root and invalidated when .git/index mtimes.

Structs§

GitIndex
Snapshot of git status for paths under a repository root.

Enums§

UntrackedMode
How aggressively to collect untracked files.

Functions§

annotate_entries
Convenience: annotate a free list of entries using a starting path for discovery.
annotate_listing
Annotate listing entries with git status in place.
annotate_listings
Annotate many listings; one porcelain map per git repo root (reused + process cache).
find_repo_root
Walk up from start looking for a .git directory/file.