gix_pack::multi_index::chunk::index_names

Function from_bytes

Source
pub fn from_bytes(chunk: &[u8], num_packs: u32) -> Result<Vec<PathBuf>, Error>
Expand description

Parse null-separated index names from the given chunk of bytes and the expected number of packs and indices. Ignore padding bytes which are typically \0.