Alexander Simmerl d46b9afb79 Simplify WriteFileAtomic
We can make the implementation more robust by adjusting our assumptions
and leverage explicit file modes for syncing. Additionally we going to
assume that we want to clean up and can't really recover if thos
operations (file close and removal) fail.

* utilise file mode for majority of concerns
* improve test coverage by covering more assumptions
* signature parity with ioutil.WriteFile
* always clean up

Replaces #160
2018-03-22 19:36:24 -04:00
..
2018-01-02 11:05:53 -05:00
2018-01-02 11:05:53 -05:00
2017-09-20 02:49:51 -04:00
2017-11-04 00:10:59 -05:00
2017-06-20 17:18:55 -04:00
2017-06-20 17:18:55 -04:00
2017-12-09 09:26:03 -08:00
2017-12-10 14:23:27 -08:00
2017-11-29 12:18:03 -06:00
2017-07-19 15:02:04 -04:00
2017-07-19 15:02:04 -04:00
2018-03-22 19:36:24 -04:00
2018-03-22 19:36:24 -04:00
2017-12-21 10:02:25 -05:00
2018-02-12 19:12:24 -05:00
2017-11-27 23:42:36 -06:00
2018-02-27 16:01:49 +04:00