Skip to main content

find_ref_tip

Function find_ref_tip 

Source
pub fn find_ref_tip<'r>(
    repo: &'r Repository,
    ref_name: &str,
) -> Result<Option<Id<'r>>>
Expand description

Find the tip commit of a ref, returning None if the ref doesn’t exist.