Skip to main content

get_ahead_count

Function get_ahead_count 

Source
pub fn get_ahead_count<P: AsRef<Path>>(repo_path: P) -> Result<u32, GitError>
Expand description

Get the number of commits ahead of upstream.