[go: up one dir, main page]

git-chunk 0.4.1

Interact with the git chunk file format used in multi-pack index and commit-graph files
Documentation
///
pub mod decode;
///
pub mod index;

///
pub mod write;

/// The offset to a chunk as seen relative to the beginning of the file containing it.
pub type Offset = u64;

/// A chunk file providing a table into the parent data.
pub struct Index {
    /// If true, we use `chunks` in a way that facilitates writing them.
    will_write: bool,
    /// Validated chunks as defined by their index entries.
    ///
    /// Note that this list cannot be empty.
    chunks: Vec<index::Entry>,
}