subdir_regex

Function subdir_regex 

Source
fn subdir_regex(
    path: &Path,
    re: &Regex,
    ignored: &Vec<PathBuf>,
) -> Result<(), LintError>
Expand description

A helper function to check that a subdirectory’s name matches a given regex.