Skip to main content

Mountain/Cache/PathCanon/
Invalidate.rs

1
2//! Force-evict an entry. Called from `notify` watchers when a path rename is
3//! observed inside the workspace, or by the dev-mode hot-reload signal.
4
5use std::path::Path;
6
7use crate::Cache::PathCanon::Cache::CACHE;
8
9pub fn Fn(Path:&Path) { CACHE.invalidate(Path); }