Skip to main content

live_objects

Function live_objects 

Source
pub fn live_objects(
    store: &ObjectStore,
    mkit_dir: &Path,
) -> Result<BTreeSet<Hash>, GcRootsError>
Expand description

The full live-object keep-set for mkit gc: the reachable closure over every retention root from collect_roots.

ยงErrors

GcRootsError if roots cannot be collected, or a StoreError (e.g. a root or referenced object missing) during the walk.