DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/Cache/PathCanon/Cache.rs
1//! Process-global canonical-path cache backing store.
2
3use std::{path::PathBuf, time::Duration};
4
5use moka::sync::Cache;
6use once_cell::sync::Lazy;
7
8pub static CACHE:Lazy<Cache<PathBuf, PathBuf>> = Lazy::new(|| {
9 Cache::builder()
10 .max_capacity(8192)
11 .time_to_idle(Duration::from_secs(60))
12 .build()
13});