forge_script::sequence

Function get_commit_hash

Source
pub fn get_commit_hash(root: &Path) -> Option<String>
Expand description

Returns the commit hash of the project if it exists