Skip to main content

hash_to_oid

Function hash_to_oid 

Source
pub fn hash_to_oid(hash: &GitHash) -> Result<Oid>
Expand description

Convert GitHash back to git2::Oid Note: git2 currently only supports SHA1, so SHA256 hashes will fail