Skip to main content

Cache/PathCanon/
Invalidate.rs

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