isIgnored method

bool isIgnored(
  1. String fPath
)

Checks whether a given file path fPath is in the ignore list.

Implementation

bool isIgnored(String fPath) {
  for (var ref in ignoreList) {
    if (isSameOrChild(ref, fPath)) {
      return true;
    }
  }
  return false;
}