Skip to main content

build_pack_with_write_threads

Function build_pack_with_write_threads 

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

Like build_pack with an explicit pack-write worker override for tests and embedders.

write_threads replaces config-derived pack.threads when set.