Skip to main content

orderfile_pattern_matches

Function orderfile_pattern_matches 

Source
pub fn orderfile_pattern_matches(pattern: &str, path: &str) -> bool
Expand description

Check if an orderfile pattern matches a path (matches the basename or the full path). Supports basic glob patterns: * matches any sequence, ? matches one char.