Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicWriteFile ¶
AtomicWriteFile atomically writes data to a file named by filename.
func NewAtomicFileWriter ¶
NewAtomicFileWriter returns WriteCloser so that writing to it writes to a temporary file and closing it atomically changes the temporary file to destination path. Writing and closing concurrently is not allowed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.