Registry caching and directory synchronization

This commit is contained in:
mdecimus
2026-02-20 19:36:03 +01:00
parent 2a557c58e5
commit ddf9cc7ba7
80 changed files with 2238 additions and 467 deletions

View File

@@ -99,6 +99,11 @@ impl<K: Eq + Hash + CacheItemWeight, V: Clone + CacheItemWeight> Cache<K, V> {
pub fn clear(&self) {
self.0.clear();
}
#[inline(always)]
pub fn inner(&self) -> &quick_cache::sync::Cache<K, V, CacheItemWeighter> {
&self.0
}
}
impl<K: Eq + Hash + CacheItemWeight, V: Clone + CacheItemWeight> CacheWithTtl<K, V> {