Function git_status_vars::head_info
source · pub fn head_info(repository: &Repository) -> Head
Expand description
Trace the HEAD
reference for a repository.
§Panics
This may panic if it can’t resolve a symbolic reference to a symbolic target.