Skip to main content

is_no_reverse

Function is_no_reverse 

Source
pub fn is_no_reverse(source_path: &Path, patterns: &[String]) -> bool
Expand description

Returns true iff source_path’s filename matches any of the glob patterns in patterns. Patterns that fail to compile as globs are silently ignored (config validation upstream is the place to surface user error; from the engine’s point of view a bad pattern means “matches nothing”).