Skip to main content

enumerate_pack_objects

Function enumerate_pack_objects 

Source
pub fn enumerate_pack_objects(
    odb: &Odb,
    wants: &[ObjectId],
    haves: &[ObjectId],
    opts: &PackEnumerateOptions<'_>,
) -> Result<PackObjectSelection>
Expand description

Select pack objects using bitmap reachability when possible, otherwise the object walk.

ยงErrors

Propagates repository read failures. Missing want objects error; missing have objects are skipped.