Skip to main content

commit_count

Function commit_count 

Source
pub fn commit_count(dir: &Path) -> Option<u64>
Expand description

The number of commits reachable from HEAD (git rev-list --count HEAD), or None when not a repo or there are no commits yet.