pub fn prune(
root: &Path,
now_ms: i64,
cap: u64,
here: &dyn Fn(&str, &str) -> bool,
)Expand description
The history held within bounds, now and then: each file’s versions as
keep keeps them, those of a file no longer here (here says which are)
past 30 days, then the oldest copies past cap bytes in all. Your
versions of calendars’ and contacts’ items (ACCOUNTS) are kept as those
of a file still here: the last 20, and all those of the last 30 days.