gix_pack::multi_index::chunk::lookup

Function is_valid

Source
pub fn is_valid(offset: &Range<usize>, hash: Kind, num_objects: u32) -> bool
Expand description

Return true if the size of the offset range seems to match for a hash of the given kind and the amount of objects.