Skip to main content

glob_match

Function glob_match 

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

Match a relative path (forward-slash separated) against a simple glob pattern. Supports ** (zero or more path segments) and * (any chars within one segment).