Re-exports§
pub use storage::git::transport::local::Url;
pub use storage::BranchName;
pub use git2 as raw;
pub use git_ext::ref_format as fmt;
pub use radicle_git_ext as ext;
Modules§
- Git environment variables.
- Functions that call to the
git
CLI instead ofgit2
. - Git URLs.
Macros§
- Create a [
git_ref_format_core::Qualified
] from a string literal. - Create a [
git_ref_format_core::RefString
] from a string literal.
Structs§
- A path component of a
RefStr
. - A
Qualified
ref under a git namespace. - Serializable
git2::Oid
- A fully-qualified refname.
- A Git refspec.
- The user information used for signing commits and configuring the
name
andemail
fields in the Git config. - A parsed git version.
Enums§
Constants§
- Default port of the
git
transport protocol. - Minimum required git version.
Functions§
- Create a commit and update the given ref to it.
- Configure a repository’s radicle remote.
- Configure a radicle repository.
- Fetch from the given
remote
. - Get the repository head.
- Create an initial empty commit.
- Parse a ref string. Optionally returns a namespace.
- Parse a ref string. Returns an error if it isn’t namespaced.
- Push
refspecs
to the givenremote
using the providednamespace
. - List remote refs of a project, given the remote URL.
- Execute a git command by spawning a child process.
- Set the upstream of the given branch to the given remote.
- Get the system’s git version.
- Write a tree with the given blob at the given path.