Skip to main content

sweep_other_sessions

Function sweep_other_sessions 

Source
fn sweep_other_sessions(root: &Path, keep: &Path)
Expand description

Every other session’s directory: its stale records deleted, and the directory itself removed once nothing is left in it. Sessions end without telling anyone, and a call the CLI never ran (denied) leaves its record; without this both would stay forever.