Skip to main content

resolve_ref

Function resolve_ref 

Source
pub fn resolve_ref(
    repo: &Path,
    ref_name: &str,
) -> Result<Option<String>, SyncError>
Expand description

Resolves a ref to its commit SHA, or None if the ref does not exist.