Microsoft.Extensions.FileSystemGlobbing.MatcherExtensions
public static void AddExcludePatterns(this Matcher matcher, IEnumerable<string>[] excludePatternsGroups)
Adds multiple exclude patterns to Matcher.
public static void AddIncludePatterns(this Matcher matcher, IEnumerable<string>[] includePatternsGroups)
Adds multiple patterns to include in Matcher.
Searches the specified directory for all files matching patterns added to this instance of Matcher.
Matches the file passed in with the patterns in the matcher without going to disk.
Matches the file passed in with the patterns in the matcher without going to disk.
Matches the files passed in with the patterns in the matcher without going to disk.
public static PatternMatchingResult Match(this Matcher matcher, string rootDir, IEnumerable<string> files)
Matches the files passed in with the patterns in the matcher without going to disk.