Docs.rs
  • gix-revision-0.27.0
    • gix-revision 0.27.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Byron
    • Dependencies
      • bstr ^1.3.0 normal
      • document-features ^0.2.1 normal optional
      • gix-date ^0.8.5 normal
      • gix-hash ^0.14.2 normal
      • gix-hashtable ^0.5.2 normal
      • gix-object ^0.42.0 normal
      • gix-revwalk ^0.13.0 normal
      • gix-trace ^0.1.8 normal
      • serde ^1.0.114 normal optional
      • thiserror ^1.0.26 normal
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate gix_revision

gix_revision0.27.0

  • All Items
  • Modules
  • Structs
  • Enums
  • Functions

Crates

  • gix_revision
?
Change settings

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 functionality
  • serde — Data structures implement serde::Serialize and serde::Deserialize.

Modules§

  • describedescribe
  • graph
  • spec

Structs§

  • Graph
    A graph of commits which additionally allows to associate data with commits.
  • PriorityQueue
    A utility type implementing a queue which can be used to automatically sort data by its time in ascending order.

Enums§

  • Spec
    A revision specification without any bindings to a repository, useful for serialization or movement over thread boundaries.

Functions§

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

Results

enum
gix_revision::spec::Kind
How to interpret a revision specification, or revspec.
trait
gix_revision::spec::parse::delegate::Kind
Combine one or more specs into a range of multiple.
trait method
gix_revision::spec::parse::delegate::Kind::kind
Set the kind of the spec, which happens only once if it …
method
gix_revision::Spec::kind
Return the kind of this specification.
struct field
gix_revision::spec::parse::Error::KindSetTwice::kind
enum variant
gix_revision::spec::parse::Error::KindSetTwice
struct field
gix_revision::spec::parse::Error::KindSetTwice::prev_kind
enum variant
gix_revision::spec::parse::delegate::PeelTo::ObjectKind
An object of the given kind.
trait method
gix_revision::spec::parse::delegate::Navigate::find
Find the first revision/commit whose message matches the …
trait method
gix_revision::spec::parse::delegate::Kind::kind
Set the kind of the spec, which happens only once if it …
method
gix_revision::spec::Kind::clone
method
gix_revision::spec::Kind::eq
method
gix_revision::spec::Kind::cmp
method
gix_revision::spec::Kind::fmt
method
gix_revision::spec::Kind::partial_cmp
method
gix_revision::spec::Kind::hash
method
gix_revision::spec::Kind::serialize
method
gix_revision::Spec::kind
Return the kind of this specification.
method
gix_revision::spec::Kind::clone
method
gix_revision::spec::Kind::default
method
gix_revision::spec::Kind::deserialize