Re-exports§
pub use OverwriteBehavior::AllowOverwrite;pub use OverwriteBehavior::DisallowOverwrite;
Structs§
- Atomic
File - Create a file and write to it atomically, in a callback.
Enums§
- Error
- Represents an error raised by
AtomicFile.write. - Overwrite
Behavior - Whether to allow overwriting if the target file exists.
Functions§
- move_
atomic - Move
srctodst. An error will be returned ifdstexists. - replace_
atomic - Move
srctodst. Ifdstexists, it will be silently overwritten.