shouldExcludeFile property
bool
get
shouldExcludeFile
Implementation
bool get shouldExcludeFile {
// to ignore?
if (excludeOptions!.excludeGlobs!.isNotEmpty) {
// only test on sub
for (final glob in excludeOptions!.excludeGlobs!) {
if (!glob.isDir) {
if (glob.matches(srcSub!)) {
return true;
}
}
}
}
return false;
}