Skip to main content

read_midx_objects

Function read_midx_objects 

Source
pub fn read_midx_objects(
    objects_dir: &Path,
) -> Result<(Vec<String>, Vec<MidxObjectRef>)>
Expand description

Read the tip MIDX and return (pack_names, objects), where each object names the pack it is attributed to (pack_int_id). Mirrors the per-object nth_midxed_pack_int_id iteration in Git used by expire/repack.