copy_mmap

Function copy_mmap 

Source
pub fn copy_mmap<P: AsRef<Path>>(src: P, dst: P) -> Result<()>
Expand description

Copy a mapped file to a new destination using the filesystem. This does not copy the mapping identity, only the underlying file contents.

ยงErrors

Returns MmapIoError::Io if the copy operation fails.