Function cargo::ops::vendor::copy_and_checksum
source · fn copy_and_checksum<T: Read>(
dst_path: &Path,
dst_opts: &mut OpenOptions,
contents: &mut T,
contents_path: &str,
buf: &mut [u8]
) -> CargoResult<String>