Skip to content

Glossary: Desktop Apps with Electron and Tauri

Atomic save (temp file + rename)

Also written: sales.json.tmp, rename

Writing data to a temporary file and then renaming it over the real file. A crash halfway through a write can't leave a half-written file.

Where the book teaches it

Related terms

app.getPathENOENT