Crate gix_revision
source ·Expand description
Interact with git revisions by parsing them from rev-specs and describing them in terms of reference names.
§Feature Flags
describe
(enabled by default) —git describe
functionalityserde
— Data structures implementserde::Serialize
andserde::Deserialize
.
Modules§
- describe
describe
Structs§
- A graph of commits which additionally allows to associate data with commits.
- A utility type implementing a queue which can be used to automatically sort data by its time in ascending order.
Enums§
- A revision specification without any bindings to a repository, useful for serialization or movement over thread boundaries.
Functions§
- describe
describe
Given acommit
id, traverse the commitgraph
and collect candidate names from thename_by_oid
mapping to produce anOutcome
, which convertedinto_format()
will produce a typicalgit describe
string.