Expand description
Home of the GitSource.
Apparently, the most important type in this module is GitSource.
[utils] provides libgit2 utilities like fetch and checkout, whereas
[oxide] is the counterpart for gitoxide integration. [known_hosts]
is the mitigation of CVE-2022-46176.
Modules§
- fetch
- For
-Zgitoxideintegration.
Structs§
- GitCheckout
- A local checkout of a particular revision from a
GitDatabase. - GitDatabase
- A local clone of a remote repository’s database. Multiple
GitCheckouts can be cloned from a singleGitDatabase. - GitRemote
- A remote repository. It gets cloned into a local
GitDatabase. - GitSource
GitSourcecontains one or more packages gathering from a Git repository. Under the hood it usesRecursivePathSourceto discover packages inside the repository.
Functions§
- fetch
- Attempts to fetch the given git
referencefor a Git repository. - resolve_
ref - Resolves
GitReferenceto an object ID with objects therepocurrently has.