Skip to main content

file

Function file 

Source
pub fn file(path: &Path) -> Result<Checksum>
Expand description

Compute the BLAKE3 checksum of a regular file.

The file is read as a stream rather than loaded entirely into memory.

ยงErrors

Returns an error when the path is missing, is not a regular file, or cannot be read. Inspection does not follow the final symbolic link.