get_current_commit

Function get_current_commit 

Source
pub fn get_current_commit(root: impl AsRef<Path>) -> Result<String>
Expand description

Get the current commit SHA

Returns the full 40-character commit hash for HEAD.