Crate atomicwrites
source · [−]Re-exports
pub use OverwriteBehavior::AllowOverwrite;
pub use OverwriteBehavior::DisallowOverwrite;
Structs
Create a file and write to it atomically, in a callback.
Enums
Represents an error raised by AtomicFile.write
.
Whether to allow overwriting if the target file exists.
Functions
Move src
to dst
. An error will be returned if dst
exists.
Move src
to dst
. If dst
exists, it will be silently overwritten.