pub fn pattern_filter( names: &[String], pattern: &str, ) -> Result<Vec<String>, Error>
Filters a list of names by a glob pattern.