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§
- For
-Zgitoxide
integration. - SSH host key validation support.
- oxide 🔒This module contains all code sporting
gitoxide
for operations ongit
repositories and it mirrorsutils
closely for now. One day it can be renamed intoutils
oncegit2
isn’t required anymore. - source 🔒See
GitSource
. - utils 🔒Utilities for handling git repositories, mainly around authentication/cloning.
Structs§
- A local checkout of a particular revision from a
GitDatabase
. - A local clone of a remote repository’s database. Multiple
GitCheckout
s can be cloned from a singleGitDatabase
. - A remote repository. It gets cloned into a local
GitDatabase
. GitSource
contains one or more packages gathering from a Git repository. Under the hood it usesRecursivePathSource
to discover packages inside the repository.
Functions§
- Attempts to fetch the given git
reference
for a Git repository. - Resolves
GitReference
to an object ID with objects therepo
currently has.