Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicWrite ¶
AtomicWrite allows a function to write atomically to a named file. It first opens a file handle to a temporary file in the same directory as the target file and invokes the function, with the file handle as a parameter. If the function returns nil, AtomicWrite renames the temporary file over the target file. Any necessary directories to the target file are created.
func Exists ¶
Exists returns a boolean denoting whether the name exists in the file system. A non-existent entity returns false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.