shouldIncludeFile property

bool get shouldIncludeFile

Implementation

bool get shouldIncludeFile {
  // to ignore?
  if (includeOptions!.includeGlobs!.isNotEmpty) {
    // only test on sub
    for (final glob in includeOptions!.includeGlobs!) {
      if (!glob.isDir) {
        if (glob.matches(srcSub!)) {
          return true;
        }
      }
    }
  }
  return false;
}