Docs.rs
  • gix-revision-0.10.3
    • gix-revision 0.10.3
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Byron
    • Dependencies
      • bstr ^1.0.1 normal
      • document-features ^0.2.1 normal
      • gix-date ^0.4.2 normal
      • gix-hash ^0.10.2 normal
      • gix-hashtable ^0.1.1 normal
      • gix-object ^0.26.1 normal
      • serde ^1.0.114 normal
      • 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
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

Crate gix_revision

logo

Crate gix_revision

  • Version 0.10.3
  • All Items
  • Modules
  • 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

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

Modules

describe
spec

Enums

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

Functions

describe
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

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