cargo::sources::git

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.