Expand description
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.
Enums§
- Open
Mode - The reason we are opening a git repository.
Functions§
- amend_
authentication_ 🔒hints - cargo_
config_ to_ gitoxide_ overrides - Convert
git
related cargo configuration into the respectivegit
configuration which can be used when opening new repositories. - open_
repo - Produce a repository with everything pre-configured according to
config
. Most notably this includes transport configuration. Knowing itspurpose
helps to optimize the way we open the repository. Useconfig_overrides
to configure the new repository. - reinitialize
- Reinitializes a given Git repository. This is useful when a Git repository seems corrupted, and we want to start over.
- translate_
progress_ 🔒to_ bar - with_
retry_ and_ progress - For the time being,
repo_path
makes it easy to instantiate a gitoxide repo just for fetching. In future this may change to be the gitoxide repository itself.