(...location: (Promise<string> | string | number)[])
| 201 | scan(...location: (Promise<string> | string)[]): Finder; |
| 202 | scan(depth: number, ...location: (Promise<string> | string)[]): Finder; |
| 203 | scan(...location: (Promise<string> | string | number)[]): Finder { |
| 204 | const depth = typeof location[0] === 'number' ? location.shift() as number : 0; |
| 205 | this.promises.push(...location.map(each => scanFolder(each.toString(), depth, this.match, (f) => !this.#excludedFolders.has(f.name), this.#files))); |
| 206 | return this; |
| 207 | } |
| 208 | |
| 209 | [Symbol.asyncIterator](): AsyncIterator<string> { |
| 210 | this.#files.complete(); |
nothing calls this directly
no test coverage detected