Skip to main content

verify

Function verify 

Source
pub async fn verify(
    path: &Path,
    checksum: Checksum,
    reporter: Reporter,
    cancel: Cancel,
) -> Result<Outcome>
Expand description

Hash a file, reporting progress. Runs on a blocking thread: hashing a large file is CPU-bound and would otherwise stall the runtime.