safeSave

Safely save a text file. If something goes wrong while writing, the new file is simply discarded while the old one is untouched

@safe
void
safeSave
(
string path
,
string data
)

Meta