fix(backup): work with temporary file while writing json metadata file

This commit is contained in:
Jef Roosens 2025-04-30 15:30:57 +02:00
parent 08e77034a7
commit 3ae19e2168
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
2 changed files with 20 additions and 1 deletions

View file

@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://git.rustybever.be/Chewing_Bever/alex/src/branch/dev)
## Fixed
* Fix bug where JSON metadata file can be corrupted if crash occurs while
writing (data is now written to a temporary file before atomically renaming)
## [0.4.1](https://git.rustybever.be/Chewing_Bever/alex/src/tag/0.4.1)
### Changed