Skip to main content

hash_object_bytes

Function hash_object_bytes 

Source
pub fn hash_object_bytes(
    kind: ObjectKind,
    data: &[u8],
    hash_bytes: usize,
) -> Result<Vec<u8>>
Expand description

Hash canonical loose object bytes (kind SP size NUL data) with the repo hash width.