ruff/crates/ruff_cli
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
..
resources/test/fixtures Keep track of when files are last seen in the cache (#5214) 2023-06-23 15:40:35 +02:00
src Keep track of when files are last seen in the cache (#5214) 2023-06-23 15:40:35 +02:00
tests Add rule documentation URL to JSON output (#5187) 2023-06-19 21:09:15 +00:00
Cargo.toml Bump version to 0.0.275 (#5276) 2023-06-21 21:53:37 -04:00