(dest)
| 55 | * @returns {Promise<boolean>} |
| 56 | */ |
| 57 | export async function pathExists(dest) { |
| 58 | try { |
| 59 | await fs.access(dest); |
| 60 | return true; |
| 61 | } catch (err) { |
| 62 | return false; |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * @param {string} dest |
no outgoing calls
no test coverage detected