pub fn calculate_object_hash(obj_type: ObjectType, data: &Vec<u8>) -> ObjectHashExpand description
Calculate the SHA1 hash of the given object.
“<type> <size>\0<content>”
data: The decompressed content of the object
pub fn calculate_object_hash(obj_type: ObjectType, data: &Vec<u8>) -> ObjectHashCalculate the SHA1 hash of the given object.
“<type> <size>\0<content>”
data: The decompressed content of the object