Go package safefile implements safe "atomic" saving of files.
 .
 Instead of truncating and overwriting the destination file, it creates
 a temporary file in the same directory, writes to it, and then renames
 the temporary file to the original name when calling Commit.
            Installed Size: 26.6 kB
            
            Architectures:  all