(filePath: string)
| 66 | } |
| 67 | |
| 68 | export async function exists(filePath: string): Promise<boolean> { |
| 69 | try { |
| 70 | await access(filePath); |
| 71 | return true; |
| 72 | } catch { |
| 73 | return false; |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | export async function listFiles(dir: string, ext?: string): Promise<string[]> { |
| 78 | try { |
no outgoing calls
no test coverage detected
searching dependent graphs…