Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteFile ¶
WriteFile atomically writes the contents of r to the specified filepath with the given mode. This is a copy of https://github.com/natefinch/atomic/blob/master/atomic.go with minor modifications allowing to set mode of the written file. If the file already exists, its mode is preserved.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.