Skip to main content

drop_units

Function drop_units 

Source
pub fn drop_units(
    store_root: &Path,
    generation: &str,
    names: &[String],
) -> Result<usize>
Expand description

Remove stored unit groups: their directories go, the manifest is pruned, and a generation left without units disappears entirely. Returns how many groups were dropped; groups that could not be removed stay recorded.