fn prune(dir: &Path)Expand description
Delete every take but the newest RETAINED_TAKES. Only store
directories count - take- followed by nothing but digits - so a
user directory that happens to share the prefix is never touched.
Removal is best-effort, and a directory that will not leave is
logged: it occupies a retention slot invisibly otherwise.