DoxigAlpha

AtomicFile

Fields of this type

Fields

#
file_writer:File.Writer
random_integer:u64
dest_basename:[]const u8
file_open:bool
file_exists:bool
close_dir_on_deinit:bool

Note that the `Dir.atomicFile` API may be more handy than this lower-level function.

Functions

#
init
Note that the `Dir.atomicFile` API may be more handy than this lower-level function.
deinit
Always call deinit, even after a successful finish().
renameIntoPlace
On Windows, this function introduces a period of time where some file
finish
Combination of `flush` followed by `renameIntoPlace`.

Error sets in this namespace

Error Sets

#