Sync's conflict-resolution and download paths wrote the local file with plain fs::write. A crash or I/O error mid-write left a truncated .md or .listdata.json that would then fail YAML/JSON parsing on the next list_tasks. All other callers in this crate use atomic_write; route the four sync call sites through it for consistency and crash safety. |
||
|---|---|---|
| .. | ||
| config.rs | ||
| error.rs | ||
| google_tasks.rs | ||
| lib.rs | ||
| models.rs | ||
| repository.rs | ||
| storage.rs | ||
| sync.rs | ||
| webdav.rs | ||