(p: string)
| 35 | // --------------------------------------------------------------------------- |
| 36 | |
| 37 | async function dirExists(p: string): Promise<boolean> { |
| 38 | try { |
| 39 | return (await fs.stat(p)).isDirectory(); |
| 40 | } catch { |
| 41 | return false; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | async function fileExists(p: string): Promise<boolean> { |
| 46 | try { |
no outgoing calls
no test coverage detected