Skip to main content

path_matches_patterns

Function path_matches_patterns 

Source
pub fn path_matches_patterns(
    changed_path: &Path,
    patterns: &[String],
    base_dir: &Path,
) -> bool
Expand description

Check if a changed path matches any of the watch patterns. Uses globset which properly supports ** for recursive directory matching.