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