excludes method

bool excludes(
  1. String path
)

Whether a root-relative path (forward slashes) is excluded from the scan.

Implementation

bool excludes(String path) => _excludeGlobs.any((g) => g.matches(path));