Lines Matching refs:files
46 async function traverse(dir, files = new SafeMap(), symbolicLinks = new SafeSet()) { argument
55 files.set(f, file);
61 ArrayPrototypePush(subdirectories, traverse(f, files));
67 return files;
73 #files = new SafeMap(); field in FSWatcher
116 for (const file of this.#files.keys()) {
120 this.#files.clear();
130 for (const filename of this.#files.keys()) {
141 const files = await opendir(folder);
143 for await (const file of files) {
150 if (!this.#files.has(f)) {
160 this.#files.set(f, file);
179 const existingStat = this.#files.get(file);
189 this.#files.set(file, currentStats);
193 this.#files.delete(file);
220 this.#files.set(filename, file);
223 traverse(filename, this.#files, this.#symbolicFiles),
225 for (const f of this.#files.keys()) {
243 this.#files.forEach((file) => {
251 this.#files.forEach((file) => {