Files
margin/src-tauri
pj 92941a2758 fix(persist): atomic+durable .margin writes
Route save_book, write_file, write_bytes through a shared atomic_write
helper: write to a temp file, fsync, then rename into place so a crash
mid-write can never leave a truncated or empty manuscript. Rotate the
prior copy to .bak for manuscripts (not exports) so one good copy
always survives.

Claude-Session: https://claude.ai/code/session_01RzTWrLiy4zGuw2hZSQGamk
2026-06-22 13:12:39 -04:00
..
2026-06-22 09:56:20 -04:00
2026-06-20 23:46:10 -04:00
2026-06-22 09:56:20 -04:00
2026-06-22 09:56:20 -04:00
2026-06-22 12:40:29 -04:00
2026-06-22 16:50:04 +00:00
2026-06-22 16:50:04 +00:00
2026-06-22 10:12:35 -04:00