Skip to main content

remove_pack_keep

Function remove_pack_keep 

Source
pub fn remove_pack_keep(
    object_directory: &Path,
    pack_name: &str,
) -> Result<(), RecoveryError>
Expand description

What: Remove the .keep of one migrated pack. Why: removePackKeep: after ref-updated.json, and after a failed compare-and-swap.

In TS you’d write (pseudocode):

await removePackKeep({ objectDirectory, packName });