Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    pack: &[u8],
    hash: GitHashKind,
    archive_offset: u64,
    bases: &dyn BaseSource,
) -> Result<Vec<Resolved>>
Expand description

Resolve every entry of pack to an oid, keeping no payloads.

archive_offset is where the pack’s first byte lives in the archive, so the offsets and delta_bases that come back are already in the archive’s coordinate space and no caller has to remember to shift them.

The indexer does not come through here — it calls resolve_walked with the exploded table as its sink, which is what makes §14’s side table fall out of the same pass rather than out of a second walk.