Skip to main content

Module vcs

Module vcs 

Source
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§

BlameSpan
A run of consecutive lines a single commit last touched.
BranchInfo
HeadInfo
LogEntry
StatusModel
Per-area views of the working tree, neogit-style sections.

Enums§

NetworkOp
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§

Vcs

Functions§

against_diff
Three-dot diff of rev against the working tree: merge-base(rev, HEAD) vs index + worktree + untracked. Commits rev gained since the branch forked stay out of it; uncommitted work stays in.