Function file_system::copy_and_sync [−][src]
pub fn copy_and_sync<P: AsRef<Path>, Q: AsRef<Path>>(
from: P,
to: Q
) -> Result<u64>
Copies the contents and permission bits of one file to another, then synchronizes.
pub fn copy_and_sync<P: AsRef<Path>, Q: AsRef<Path>>(
from: P,
to: Q
) -> Result<u64>
Copies the contents and permission bits of one file to another, then synchronizes.