safe_watch_relative_path

Function safe_watch_relative_path 

Source
fn safe_watch_relative_path(root: &Path, candidate: &Path) -> Option<String>
Expand description

Return a safe normalized repository path for a watcher event.