Skip to main content

changed_lines

Function changed_lines 

Source
pub async fn changed_lines(
    worktree: &Path,
    base: &str,
    head: &str,
) -> Option<usize>
Expand description

Total changed lines (added + removed) between two revisions, from --numstat. None when git could not say, or a binary file changed (numstat prints - for it): a size that cannot be measured is not small.