glob_match

Function glob_match 

Source
pub fn glob_match(pattern: &[u8], name: &[u8]) -> bool
Expand description

Minimal glob matcher supporting * (any sequence) and ? (one char).

Operates on byte slices; interface names are always ASCII so this is safe.