summaryrefslogtreecommitdiff
path: root/crates/tor-persist/src/fs
Commit message (Collapse)AuthorAgeFilesLines
* Fix build with Rust 1.53; we can't use map_whileNick Mathewson2022-04-141-1/+4
|
* tor-persist::fs::clean: Log warnings for directory read failuresIan Jackson2022-04-141-1/+19
|
* tor-persist::fs::clean: Tweaks based on review.Nick Mathewson2022-04-131-21/+32
| | | | | | | | | | | | Rename "deletable" to "obsolete". Simplify function structure. Report errors from `metadata()` and `modified()`. Don't claim that we're going to delete something unless we are. Comment about making CUTOFF configurable.
* Remove obsolete files from our state directory.Nick Mathewson2022-04-121-0/+122
This patch removes files created by older versions of arti, if they are at least 4 weeks old. Closes #282