Module repo

Module repo 

Source
Expand description

Defines basics outline of a VCS repo and the queries vcsq is meant to handle. Provides the traits any driver a particular brand of VCS must implement.

Structs§

AncestorRef
HistoryRef
Single point in time in the Repo’s history.

Enums§

DriverError

Constants§

ERROR_REPO_NONEMPTY_OUTPUT
ERROR_REPO_NOT_CLEAN
ERROR_REPO_NOT_DIRTY

Traits§

Driver
Repo-specific questions any VCS should be able to answer.
Validator
Generic questions a VCS driver should be able to answer: is the VCS program even available on this system? Does a directory even look like a valid VCS?.

Type Aliases§

HistoryRefId
VCS repo’s canonical, machine-generated identifier describing a reference-point in its history (eg: branch or tag in git, bookmark in jj).
HistoryRefName
VCS repo’s human-readable identifier describing a reference-point in its history (eg: branch or tag in git, bookmark in jj).
QueryDir
The local repository a VCS query will center around.
VcsAvailable
Proof of underlying VCS’s existence on the current system (typically –version output).