head_id

Function head_id 

Source
pub fn head_id(repo: &Repository, head_name: &str) -> Oid
Expand description

Get the Oid of provided head reference name.

ยงPanics

If the head id cannot be queried.