use-git-status
Primitive Git status metadata vocabulary for RustUse.
use-git-status models index, worktree, conflict, file-change, and porcelain status labels. It does not compute repository status.
Basic usage
use ;
let status = new
.with_index
.with_worktree;
assert!;
assert_eq!;
Scope
- Model common status labels such as added, modified, deleted, renamed, copied, untracked, ignored, and conflicted.
- Keep index/worktree scanning and status computation out of scope.