Skip to main content

head_commit

Function head_commit 

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

The current HEAD commit SHA of the repo at repo_path — stored as the index version so the next run knows where to diff from.