ruff_cache 0.0.4

This is an internal component crate of Ruff
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::hash::Hash;

use filetime::FileTime;

use crate::{CacheKey, CacheKeyHasher};

impl CacheKey for FileTime {
    fn cache_key(&self, state: &mut CacheKeyHasher) {
        self.hash(&mut *state);
    }
}