Function cargo_update::ops::parse_registry_head
source · pub fn parse_registry_head(
registry_repo: &Registry
) -> Result<RegistryTree<'_>, GitError>
Expand description
Get FETCH_HEAD
or origin/HEAD
, then unwrap it to the tree it points to.