Skip to main content

head_commit

Function head_commit 

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

The commit HEAD names in the repository that holds root: None outside a repository and before the first commit.