pub fn check_file<R: BufRead>(
algo: HashAlgorithm,
reader: R,
opts: &CheckOptions,
out: &mut impl Write,
err_out: &mut impl Write,
) -> Result<(usize, usize, usize)>Expand description
Verify checksums from a check file. Each line should be “hash filename” or “hash *filename”. Returns (ok_count, fail_count, error_count).