extra credit Search 85,062 technologies ⌘K Download for Mac

github.com/creachadair/atomicfile

Package atomicfile implements all-or-nothing file replacement by staging output to a temporary file adjacent to the target, and renaming…

go get github.com/creachadair/atomicfile
↑↓ move ↵ open