ruff/crates/ruff_cli/resources/test/fixtures
Thomas de Zeeuw 1c638264b2
Keep track of when files are last seen in the cache (#5214)
## Summary

And remove cached files that we haven't seen for a certain period of
time, currently 30 days.

For the last seen timestamp we actually use an `u64`, it's smaller on
disk than `SystemTime` (which size is OS dependent) and fits in an
`AtomicU64` which we can use to update it without locks.

## Test Plan

Added a new unit test, run by `cargo test`.
2023-06-23 15:40:35 +02:00
..
cache_mutable Open cache files in parallel (#5120) 2023-06-20 17:43:09 +02:00
cache_remove_old_files Keep track of when files are last seen in the cache (#5214) 2023-06-23 15:40:35 +02:00