Skip to main content

oid_to_hash

Function oid_to_hash 

Source
pub fn oid_to_hash(oid: Oid) -> Result<GitHash>
Expand description

Convert git2::Oid to GitHash (supports both SHA1 and SHA256)