gitbutler/crates
Sebastian Thiel 4f58883bd4
try to fix regression on Windows due to tempfiles semantics (#3601)
Until `perist()` is truly atomic also on Windows, and modelled
[after Git](https://github.com/git/git/blob/master/compat/mingw.c#L2159-L2209),
sans the retries, it seems to work to just perform ordinary writes.

Before going there though, we try to call `sync_all()` on Windows to truly
finish the operation. On Unix, a rename is already supposed to be atomic.
2024-04-27 16:11:28 +02:00
..
gitbutler-analytics move multi-file modules to mod.rs and single-file modules to <name>.rs 2024-04-26 11:56:35 +02:00
gitbutler-changeset move multi-file modules to mod.rs and single-file modules to <name>.rs 2024-04-26 11:56:35 +02:00
gitbutler-core try to fix regression on Windows due to tempfiles semantics (#3601) 2024-04-27 16:11:28 +02:00
gitbutler-git move multi-file modules to mod.rs and single-file modules to <name>.rs 2024-04-26 11:56:35 +02:00
gitbutler-tauri use new snapshot types 2024-04-26 23:20:31 +02:00
gitbutler-testsupport Use a temp-file to write new content atomically in storage layer (#2807) 2024-04-24 10:38:48 +02:00
gitbutler-watcher move multi-file modules to mod.rs and single-file modules to <name>.rs 2024-04-26 11:56:35 +02:00