Skip to main content

build_pack

Function build_pack 

Source
pub fn build_pack(
    odb: &Odb,
    wants: &[ObjectId],
    haves: &[ObjectId],
    opts: &PackBuildOptions,
) -> Result<Vec<u8>>
Expand description

Build a v2 packfile containing exactly the objects reachable from wants but not reachable from haves, de-duplicated.