Skip to main content

prune_installers

Function prune_installers 

Source
pub fn prune_installers(
    versions_root: &Path,
    running: &str,
    exe_dir: &Path,
) -> InstallersRemoved
Expand description

Remove the installer that upgraded to running, wherever an older version’s data folder holds it. The folders themselves are left to the guarded oldversions cleanup (srv-core), which has the process scan, idle window and the user’s oldversions:clean opt-in; this only takes the installer, now that the new version is up.