Crate openat_ext[−][src]
Expand description
Extension methods for openat::Dir and std::fs::File
use openat_ext::OpenatDirExt;
The openat
crate is a low-level API, generally just exposing
thin wrappers for the underlying system call. This crate offers
a number of common higher level convenience functions.
More recently, there is also an FileExt
available; it currently
just contains an optimized file copy method that will hopefully
go into the standard library.
Structs
A wrapper for atomically replacing a file. The primary field
to access here is the writer
. You can also configure the
temporary prefix and suffix used for the temporary file before
it is moved over the final destination.