Skip to main content

invalidate

Function invalidate 

Source
pub fn invalidate(cache: &GitCache, path: &Path)
Expand description

Removes the cached git result for path, forcing a recompute on the next spawn_git_status call.

Called when WorkerMsg::FsChanged arrives for the watched directory.