Skip to main content

digest_file

Function digest_file 

Source
pub fn digest_file(
    scope: FileDigestScope,
    path: &Path,
) -> Result<FileDigestResolution>
Expand description

Read and hash a file once, applying the checks required by scope in that same pass.