gix_pack::multi_index::chunk::offsets

Function is_valid

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

Returns true if the offset range seems to match the size required for num_objects.