Skip to main content

Module git

Module git 

Source
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.

Re-exportsΒ§

pub use self::source::GitSource;
pub use self::utils::GitCheckout;
pub use self::utils::GitDatabase;
pub use self::utils::GitRemote;
pub use self::utils::fetch;
pub use self::utils::resolve_ref;

ModulesΒ§

fetch
For -Zgitoxide integration.
known_hosts πŸ”’
SSH host key validation support.
oxide πŸ”’
This module contains all code sporting gitoxide for operations on git repositories and it mirrors utils closely for now. One day it can be renamed into utils once git2 isn’t required anymore.
source πŸ”’
See GitSource.
utils πŸ”’
Utilities for handling git repositories, mainly around authentication/cloning.