[][src]Function qrsync::utils::copy_file

pub fn copy_file(file_name: &str, content_type: &Mime, src: &Path, dst: &Path)

Copy a file from a source to a destination. The file_name and content_type are used to produce nice errors.