FileSet.fromDir constructor
Implementation
FileSet.fromDir(Directory dir, {String? pattern, bool recurse = false}) {
final glob = (pattern == null ? null : Glob(pattern));
if (dir.existsSync()) {
_collect(files, dir, glob, recurse);
}
}
FileSet.fromDir(Directory dir, {String? pattern, bool recurse = false}) {
final glob = (pattern == null ? null : Glob(pattern));
if (dir.existsSync()) {
_collect(files, dir, glob, recurse);
}
}