Skip to main content

write_checksum_files

Function write_checksum_files 

Source
pub fn write_checksum_files(
    dst: &Path,
    types: &[ChecksumType],
    overwrite: bool,
    cid_format: bool,
) -> Result<()>
Expand description

Write checksum sidecar files next to a destination file. Format: GNU coreutils-compatible <hash> <filename>\n When cid_format is true and checksum type is BLAKE3, outputs CID base32lower instead of hex.