Function ostree::checksum_file

source ·
pub fn checksum_file<P: IsA<File>, Q: IsA<Cancellable>>(
    f: &P,
    objtype: ObjectType,
    cancellable: Option<&Q>
) -> Result<Checksum, Box<dyn Error + Send>>
Expand description

Compute the SHA-256 checksum of a file.