Skip to main content

GitCache

Type Alias GitCache 

Source
pub type GitCache = Arc<Mutex<HashMap<PathBuf, CachedGit>>>;
Expand description

Shared git cache keyed by canonical directory path.

Invalidated when a WorkerMsg::FsChanged arrives for the same path. Arc<Mutex<…>> lets the main thread own the cache while worker tasks populate it.

Aliased Type§

pub struct GitCache { /* private fields */ }