Skip to main content

write_atomic_copy_from_file

Function write_atomic_copy_from_file 

Source
pub fn write_atomic_copy_from_file(src: &Path, dst: &Path) -> Result<()>
Expand description

Copy src into dst atomically, leaving src untouched. Used by the S3 store to replicate disk-backed object bodies without round-tripping through RAM.