Modules
Structs
GitCheckout
is a local checkout of a particular revision. Callingclone_into
with a reference will resolve the reference into a revision, and return ananyhow::Error
if no revision for that reference was found.GitDatabase
is a local clone of a remote repository’s database. MultipleGitCheckouts
can be cloned from thisGitDatabase
.GitRemote
represents a remote repository. It gets cloned into a localGitDatabase
.
Functions
- Note that
history
is a complex computed value to determine whether it’s acceptable to perform shallow clones at all. It’s needed to allow the caller to determine the correct position of the destination repository or move it into place should its position change.