cargo::sources::git::utils

Function resolve_ref

source
pub fn resolve_ref(gitref: &GitReference, repo: &Repository) -> CargoResult<Oid>
Expand description

Resolves GitReference to an object ID with objects the repo currently has.