addExclude method

Matcher addExclude(
  1. String pattern
)

Adds a glob pattern to exclude files from the search results.

Exclude patterns are applied after include patterns to filter out unwanted matches.

Implementation

Matcher addExclude(String pattern) {
  _excludePatterns.add(pattern);
  return this;
}