PathMatcher.glob constructor

PathMatcher.glob(
  1. String pattern, {
  2. Context? context,
  3. bool recursive = false,
  4. bool? caseSensitive,
})

Creates a Glob-based PathMatcher from a glob pattern.

Implementation

factory PathMatcher.glob(
  String pattern, {
  p.Context? context,
  bool recursive = false,
  bool? caseSensitive,
}) {
  return GlobPathMatcher(
    Glob(
      pattern,
      context: context,
      recursive: recursive,
      caseSensitive: caseSensitive,
    ),
  );
}