1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-02-15 10:30:05 +00:00
Jonathan Coates 566315947b
Try to ensure atomic writes to our ID file
- We now write to a "ids.json.new" file, then move that on top of the
   original ids.json file instead.

 - Use FileChannel.force to ensure the new file is properly flushed to
   disk. I can't really guarantee this'll work with the later
   Files.move, but it's better than not doing it!

Closes #1346.
2023-03-04 16:02:21 +00:00
..
2023-03-04 11:21:06 +00:00
2022-12-03 15:55:48 +00:00
2022-11-10 08:54:09 +00:00