Skip to main content

print_hash

Function print_hash 

Source
pub fn print_hash(
    out: &mut impl Write,
    hash: &str,
    filename: &str,
    binary: bool,
) -> Result<()>
Expand description

Print hash result in GNU format: “hash filename\n” Uses raw byte writes to avoid std::fmt overhead.