Function git_status_vars::count_changes
source · pub fn count_changes(repository: &Repository) -> Result<ChangeCounters, Error>
Expand description
Count changes in the working tree and index (staged area) of a repository.
pub fn count_changes(repository: &Repository) -> Result<ChangeCounters, Error>
Count changes in the working tree and index (staged area) of a repository.