Skip to main content

Module vcs

Module vcs 

Source
Expand description

Backend-agnostic VCS interface. 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 we run through the backend’s CLI, so the user’s own auth applies and diffler holds no 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.