Skip to main content

object_id

Function object_id 

Source
pub fn object_id(
    kind: Kind,
    word: &str,
    content: &[u8],
) -> Result<ObjectId, String>
Expand description

The id of content as a word object in kind: the hash of <word> <len>\0<content>.