Skip to main content

hunk_diff_bundle

Function hunk_diff_bundle 

Source
pub fn hunk_diff_bundle(
    repo: &Repository,
    pathspecs: &[String],
    opts: DiffOptions,
) -> Result<HunkDiffBundle>
Expand description

Load unstaged diffs, staged peer hunks, and staged-side file rows in one pass.