[−][src]Function test_common::fs::ops::copy_file
pub fn copy_file(
source_file_path: &str,
destination_file_path: &str
) -> Result<u64, Error>
Copy an specific file.
Parameters:
- source_file_path: &str with absolute pathname to original file.
- destination_file_path: &str with absolute pathname to copied file.
Returns:
Returns an Ok(u64) with copied file size if operation was successful. Otherwise it returns an io::Error.