Documentation
¶
Overview ¶
Package atomicfile contains code related to writing to filesystems atomically.
This package should be considered internal; its API is not stable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteFile ¶
WriteFile writes data to filename+some suffix, then renames it into filename. The perm argument is ignored on Windows, but if the target filename already exists then the target file's attributes and ACLs are preserved. If the target filename already exists but is not a regular file, WriteFile returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.