Michael H 84ac5f3952 JsonIO atomic write improvements (#2132)
Use `async with Lock` instead of deprecated `with await lock` usage.

Forces a file fsync prior and a directory fsync (where available) after rename to prevent issues with left behind temp files.

Also should clarify: this is not threadsafe. Comments were clarified, function names remain misleading.
2018-09-24 18:29:14 +10:00
..
2018-09-10 00:44:11 +10:00
2018-08-24 22:51:03 +10:00
2018-08-24 23:50:38 +10:00
2018-08-15 12:10:55 +10:00
2018-08-04 15:44:58 +10:00