globContains method
Implementation
bool globContains(Object? value) {
if (value is String) {
for (final element in this) {
if (element.hasMatch(value)) {
return true;
}
}
final values = path.split(value);
// values.contains(element);
for (final element in this) {
for (final subValue in values) {
if (element.hasMatch(subValue)) {
return true;
}
}
}
}
return false;
}