Modules
- SSH host key validation support.
- oxide 🔒This module contains all code sporting
gitoxidefor operations ongitrepositories and it mirrorsutilsclosely for now. One day it can be renamed intoutilsoncegit2isn’t required anymore. - source 🔒
- utils 🔒Utilities for handling git repositories, mainly around authentication/cloning.
Structs
GitCheckoutis a local checkout of a particular revision. Callingclone_intowith a reference will resolve the reference into a revision, and return ananyhow::Errorif no revision for that reference was found.GitDatabaseis a local clone of a remote repository’s database. MultipleGitCheckoutscan be cloned from thisGitDatabase.GitRemoterepresents a remote repository. It gets cloned into a localGitDatabase.
Functions
- Note that
historyis 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.