Skip to main content

sweep

Function sweep 

Source
pub fn sweep(data_dir: &Path, health: &Health, now: DateTime<Utc>)
Expand description

Deletes data dirs a restore or a pairing moved aside once they are 90 days old, and reports the rest to /health. Plaintext store copies an aside carried along are deleted at once, as the daemon deletes its own at start.