Skip to main content

diff_summary

Function diff_summary 

Source
pub fn diff_summary(hunks: &[Hunk], files: &[Touched]) -> String
Expand description

The hunks of the fix in the decision’s files (files), those that changed its lines first (a guard the fix added elsewhere in the file shows too), as path, - old and + new lines: redacted whole, then cut.