isExcluded method

bool isExcluded(
  1. String path,
  2. List<String> excludes
)

Implementation

bool isExcluded(String path, List<String> excludes) {
  final exclude = excludes.contains(path);
  Settings().verbose('checking esclusion $path $excludes');
  if (exclude) {
    print(orange(' - excluded: $path'));
  }
  return exclude;
}