Function ligen::utils::fs::copy [−][src]
pub fn copy(from: &PathBuf, to: &PathBuf) -> Result<(), Error>
Expand description
Copies the file from the origin path to the destination path. It creates all the parent directories if they don’t exist.