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

  • serde — Data structures implement serde::Serialize and serde::Deserialize.

Modules

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

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