Add writeFileAtomic to and use it everywhere in place of ordinary writeFile
It uses the renaming trick to make the write atomic. Not yet tested on Windows.
Please register or sign in to comment
It uses the renaming trick to make the write atomic. Not yet tested on Windows.