pub fn glob_matches(pattern: &str, name: &str) -> boolExpand description
Whether name (folder levels joined by /) matches the glob: * and ? stay in one level, ** crosses any number.
Table-driven, so the work is the pattern’s length times the name’s and never more, whatever the pattern.