Skip to main content

materialize_at_with

Function materialize_at_with 

Source
pub fn materialize_at_with(
    archive: &dyn ArchiveBytes,
    at: u64,
    oid_len: usize,
    offset_of_oid: &dyn Fn(&[u8]) -> Option<u64>,
    bases: &dyn BaseSource,
    cache: Option<&mut ChainCache>,
) -> Result<(GitObjectKind, Vec<u8>, ReadCost)>
Expand description

materialize_at with an optional ChainCache: the walk outward stops at the first link the memo holds, and every link applied on the way back down is put in it.