Crate git_revision
source · [−]Expand description
Interact with git revisions by parsing them from rev-specs and describing them in terms of reference names.
Feature Flags
serde1
— Data structures implementserde::Serialize
andserde::Deserialize
.
Re-exports
pub use hash_hasher;
Modules
Enums
A revision specification without any bindings to a repository, useful for serialization or movement over thread boundaries.
Functions
Given a commit
id, traverse the commit graph and collect candidate names from the name_by_oid
mapping to produce
an Outcome
, which converted into_format()
will produce a typical git describe
string.