Docs.rs
  • git-commitgraph-0.13.1
    • git-commitgraph 0.13.1
    • Permalink
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Documentation
    • Repository
    • crates.io
    • Source
    • Owners
    • Byron
    • Dependencies
      • bstr ^1.0.1 normal
      • document-features ^0.2.0 normal optional
      • git-chunk ^0.4.2 normal
      • git-features ^0.26.5 normal
      • git-hash ^0.10.3 normal
      • memmap2 ^0.5.0 normal
      • serde ^1.0.114 normal optional
      • thiserror ^1.0.26 normal
    • Versions
    • 100% of the crate is documented
  • 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

Crate git_commitgraph

git_commitgraph0.13.1

  • All Items

Sections

  • Feature Flags

Crate Items

  • Re-exports
  • Modules
  • Constants

Crates

  • git_commitgraph

Crate git_commitgraph

Source
Expand description

Read, verify, and traverse git commit graphs.

A commit graph is an index of commits in the git commit history. The Graph stores commit data in a way that accelerates lookups considerably compared to traversing the git history by usual means.

As generating the full commit graph from scratch can take some time, git may write new commits to separate files instead of overwriting the original file. Eventually, git will merge these files together as the number of files grows.

§Feature Flags

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

Re-exports§

pub use graph::Graph;

Modules§

file
Operations on a single commit-graph file.
graph
Operations on a complete commit graph.

Constants§

GENERATION_NUMBER_INFINITY
The number of generations that are considered ‘infinite’ commit history.
GENERATION_NUMBER_MAX
The largest valid generation number.
MAX_COMMITS
The maximum number of commits that can be stored in a commit graph.

Results

Settings
Help

Query parser error: "Unexpected 8 (not a valid identifier)".