Whether a root-relative path (forward slashes) is excluded from the scan.
bool excludes(String path) => _excludeGlobs.any((g) => g.matches(path));