Skip to main content

read_pack_entry

Function read_pack_entry 

Source
pub fn read_pack_entry(
    archive: &Path,
    name: &str,
    limits: &PackLimits,
) -> Result<Option<Vec<u8>>, DatabaseError>
Expand description

Reads one entry of a pack — the caller’s own manifest, say — after the same checks an unpack makes. None when the archive has no entry of that name.