Function cargo::util::paths::copy

source · []
pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> CargoResult<u64>
Expand description

Copies a file from one location to another.