(path: string)
| 11 | } |
| 12 | |
| 13 | export async function pathExists(path: string): Promise<boolean> { |
| 14 | try { |
| 15 | await fsModule.access(path); |
| 16 | |
| 17 | return true; |
| 18 | } catch (err) { |
| 19 | return false; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | export async function someFileExists(directory: string, filenames: string[]): Promise<boolean> { |
| 24 | for (let index = 0; index < filenames.length; index++) { |
no outgoing calls
no test coverage detected
searching dependent graphs…