(path: string)
| 284 | } |
| 285 | |
| 286 | async function fileExists(path: string): Promise<boolean> { |
| 287 | try { |
| 288 | await access(path, constants.F_OK); |
| 289 | return true; |
| 290 | } catch { |
| 291 | return false; |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | export async function replaceFile( |
| 296 | temporary: string, |
no outgoing calls
no test coverage detected