Lines Matching refs:files
47 async function traverse(dir, files = new SafeMap(), symbolicLinks = new SafeSet()) {
56 files.set(f, file);
62 ArrayPrototypePush(subdirectories, traverse(f, files));
68 return files;
74 #files = new SafeMap();
117 for (const file of this.#files.keys()) {
121 this.#files.clear();
131 for (const filename of this.#files.keys()) {
142 const files = await opendir(folder);
144 for await (const file of files) {
151 if (!this.#files.has(f)) {
161 this.#files.set(f, file);
180 const existingStat = this.#files.get(file);
190 this.#files.set(file, currentStats);
194 this.#files.delete(file);
202 // Since it is only valid when using fs.lstat(). Therefore, check the existing symbolic files.
221 this.#files.set(filename, file);
224 traverse(filename, this.#files, this.#symbolicFiles),
226 for (const f of this.#files.keys()) {
244 this.#files.forEach((file) => {
252 this.#files.forEach((file) => {