FileSelection constructor
FileSelection(
- String rootPath
Creates a FileSelection instance rooted at the given rootPath
.
Automatically targets the lib/
folder and reads ignore rules from a .depignore
file if present.
Implementation
FileSelection(String this.rootPath) {
rootDirectory = Directory(p.join(rootPath, 'lib'));
ignoreList = getDepIgnore();
}