Function fuc_engine::copy_file

source ·
pub fn copy_file<P: AsRef<Path>, Q: AsRef<Path>>(
    from: P,
    to: Q
) -> Result<(), Error>
Expand description

Copies a file or directory at this path.

§Errors

Returns the underlying I/O errors that occurred.