(src, dst)
| 444 | } |
| 445 | |
| 446 | function _copyFileIfPresent(src, dst) { |
| 447 | if (!fs.existsSync(src)) return false; |
| 448 | fs.copyFileSync(src, dst); |
| 449 | return true; |
| 450 | } |
| 451 | |
| 452 | function _restoreFileBackupIfPresent(backupPath, dstPath) { |
| 453 | if (!backupPath || !fs.existsSync(backupPath)) return false; |
no outgoing calls
no test coverage detected