Function gix_object::compute_hash
source · pub fn compute_hash(hash_kind: Kind, object_kind: Kind, data: &[u8]) -> ObjectId
Expand description
A function to compute a hash of kind hash_kind
for an object of object_kind
and its data
.