Skip to main content

glob_match

Function glob_match 

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

Whether path matches the .dockerignore glob pattern, taken as written (already cleaned). A malformed pattern matches nothing.