Function glob::glob_with
pub fn glob_with(pattern: &str, options: MatchOptions) -> Paths
Return an iterator that produces all the Paths that match the given pattern, which may be absolute or relative to the current working directory.
This function accepts Unix shell style patterns as described by Pattern::new(..)
.
The options given are passed through unchanged to Pattern::matches_with(..)
with
the exception that require_literal_separator
is always set to true
regardless of the
value passed to this function.
Paths are yielded in alphabetical order, as absolute paths.