Expand description
Backend-agnostic VCS interface. Everything above this trait consumes
dyn Vcs; only the git and repo modules (and test fixtures) may
import git2.
Structs§
- Blame
Span - A run of consecutive lines a single commit last touched.
- Branch
Info - Head
Info - LogEntry
- Status
Model - Per-area views of the working tree, neogit-style sections.
Enums§
- Network
Op - A network operation the binary runs by shelling out to the backend’s CLI, so the user’s existing auth (SSH agent, credential helper, tokens) applies without diffler holding any credentials.
- VcsError
Traits§
Functions§
- against_
diff - Three-dot diff of
revagainst the working tree:merge-base(rev, HEAD)vs index + worktree + untracked. Commitsrevgained since the branch forked stay out of it; uncommitted work stays in.