Skip to main content

diff

Function diff 

Source
pub fn diff(repo_root: &Path, branch: &str, base: Option<&str>) -> Diff
Expand description

Returns the diff of branch against base (default: the repo’s default branch, falling back to main), with a changed-files summary.