Skip to main content

sweep_stdout_dirs

Function sweep_stdout_dirs 

Source
pub fn sweep_stdout_dirs(home: &Path, probe: &dyn ProcessProbe) -> Vec<PathBuf>
Expand description

Delete <home>/stdout/<pid>-<starttime> directories whose process is dead or whose start time differs from the live process’s (a reused pid). Names of any other shape are left alone. Returns the directories removed.