mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
4f58883bd4
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. |
||
---|---|---|
.. | ||
gitbutler-analytics | ||
gitbutler-changeset | ||
gitbutler-core | ||
gitbutler-git | ||
gitbutler-tauri | ||
gitbutler-testsupport | ||
gitbutler-watcher |