(targetPath)
| 44 | ]); |
| 45 | |
| 46 | export async function pathExists(targetPath) { |
| 47 | try { |
| 48 | await fs.access(targetPath); |
| 49 | return true; |
| 50 | } catch { |
| 51 | return false; |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | export async function isDirectory(targetPath) { |
| 56 | try { |
no outgoing calls
no test coverage detected