Skip to main content

git_ahead_behind

Function git_ahead_behind 

Source
pub fn git_ahead_behind(repo_dir: &Path) -> Result<(usize, usize), String>
Expand description

Get the number of commits ahead/behind a remote branch