MatcherExtensions extension
Extension methods for Matcher to simplify common operations.
- on
Methods
-
addExcludePatterns(
Iterable< Iterable< patterns) → MatcherString> > -
Available on Matcher, provided by the MatcherExtensions extension
Adds multiple exclude patterns to the matcher. -
addIncludePatterns(
Iterable< Iterable< patterns) → MatcherString> > -
Available on Matcher, provided by the MatcherExtensions extension
Adds multiple include patterns to the matcher. -
getResultsInFullPath(
String directoryPath) → Iterable< String> -
Available on Matcher, provided by the MatcherExtensions extension
Searches the directory for all files matching patterns and returns their full paths. -
matchFile(
String file, [String? root]) → PatternMatchingResult -
Available on Matcher, provided by the MatcherExtensions extension
Matches a single file path without accessing the file system. -
matchFiles(
Iterable< String> files, [String? root]) → PatternMatchingResult -
Available on Matcher, provided by the MatcherExtensions extension
Matches multiple file paths without accessing the file system.