Skip to main content

ClearFindFilesCache

Function ClearFindFilesCache 

Source
pub fn ClearFindFilesCache()
Expand description

Drop every cached find-files result. Callers: workspace folder add/remove (UpdateWorkspaceFolders), file system watcher events from Mountain’s notifier, explicit refresh from the renderer. Cache holds for at most FIND_FILES_CACHE_TTL anyway, so missing an invalidation point here is bounded latency, not correctness.