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
12
13
14
15
use globset::{Glob, GlobMatcher};

use crate::{CacheKey, CacheKeyHasher};

impl CacheKey for GlobMatcher {
    fn cache_key(&self, state: &mut CacheKeyHasher) {
        self.glob().cache_key(state);
    }
}

impl CacheKey for Glob {
    fn cache_key(&self, state: &mut CacheKeyHasher) {
        self.glob().cache_key(state);
    }
}