mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
4474eb68e2
Instead of directly writing the destination file, use the combination of a `.tmp` suffix and `os.replace` to guarantee that the destination file is written whole and not partially.