Skip to main content

try_acquire_maintenance

Function try_acquire_maintenance 

Source
pub fn try_acquire_maintenance(
    home: &Path,
    cache_dir: &Path,
    owner: &Owner,
) -> Result<AcquireOutcome>
Expand description

Take both cache ownership and exclusive output ownership for a destructive maintenance operation. Refuses while process cleanup still owns descendants.