mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
On Unix/macOS, rename(2) atomically replaces the destination file. The previous code ran unlinkSync before renameSync on all platforms, creating an unnecessary non-atomic window where a crash could lose data. Now the delete-before-rename is gated behind process.platform === 'win32', where rename cannot overwrite an existing file. |
||
|---|---|---|
| .. | ||
| package-manager.d.ts | ||
| package-manager.js | ||
| session-aliases.d.ts | ||
| session-aliases.js | ||
| session-manager.d.ts | ||
| session-manager.js | ||
| utils.d.ts | ||
| utils.js | ||