Function ostree::checksum_file[][src]

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

Compute the SHA-256 checksum of a file.