Skip to main content

head_rev

Function head_rev 

Source
pub fn head_rev(repo_path: &Path) -> Result<String, String>
Expand description

Get the full commit hash of HEAD (equivalent to git rev-parse HEAD).