Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
File is a wrapper around an os.File instance that uses a temporary file for writes that is renamed to its final path when Close is called. The Close method will also ensure that all data from the file has been fsynced as well as the containing directory. If the temporary file cannot be renamed or fsynced on Close, it is removed.
Click to show internal directories.
Click to hide internal directories.