pub fn resolve_ref( repo: &Path, ref_name: &str, ) -> Result<Option<String>, SyncError>
Resolves a ref to its commit SHA, or None if the ref does not exist.
None