Package atomicfile provides the ability to write a file with an eventual rename on Close (using os.Rename), allowing for a file to always be in a consistent state and never represent an in-progress write.
go get github.com/facebookgo/atomicfileNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an atomic file and writes data to it.
Ensure the target filesystem supports atomic renames (e.g., local POSIX filesystems).
No dependency data recorded yet.