3 but see String-pathMatch
7 var <name, <pathName, <isDir=false, <isVisible;
13 ^super.new.pathName_(pathName);
18 this.scanFiles({ numFiles = numFiles + 1; });
22 ^this.prAt(DirectoryEntry.new, index);
26 // scan all entries in this Directory
29 entry = this.at(index);
32 func.value(entry, index);
39 // scan only files in this Directory
40 this.scan({ arg entry;
41 if (entry.isDir.not and: { entry.isVisible }, {
42 func.value(entry, index);
49 // recursively scan all files in and below this Directory
50 this.scan({ arg entry;
52 Directory.new(entry.pathName).scanFiles(func);
60 prAt { arg entry, index;