Skip to main content

sha256_file

Function sha256_file 

Source
pub fn sha256_file(path: &Path) -> Result<String>
Expand description

Reads a whole regular file’s checksum without parsing it (used by tests and by the GUI’s change detection).

§Errors

DimaError::Io if the file cannot be read.