gix_chunk/file/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
///
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>,
}