Skip to main content

fsck_pack_range

Function fsck_pack_range 

Source
pub fn fsck_pack_range(
    claim: &PackRangeClaim,
    audit: &PackRangeAudit<'_>,
) -> FsckReport
Expand description

Check that a coalesced pack range is offset-canonical, gap-free, and — when the caller supplies them — digest-correct and manifest-covered.

This is the rule that keeps one physical range read from authorizing an unselected byte gap in a mixed-audience pack.