bool isExcludePath(String path) { return excludePaths.any((String p) => isListPath(path) || Glob(p).matches(path)); }