Skip to main content

read_packed

Function read_packed 

Source
pub fn read_packed(
    objects_dir: &Path,
    hash: &GitHash,
) -> Result<Option<RawObject>>
Expand description

Read hash from any packfile under objects_dir. Returns Ok(None) when no pack contains it (so the caller can report a genuine not-found).