Skip to main content

resolve_ref

Function resolve_ref 

Source
pub fn resolve_ref(repo: &Path, refspec: &str) -> Result<String, WorktreeError>
Expand description

Resolve a ref to its 40-char SHA.