Facebook Go Atomic File

JSON →
library 0.0.0-20151019160806-2de1f203e7d5 ·go
verified Jun 15, 2026

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.