pub fn print_diff(path: &Path, original: &str, modified: &str) -> DiffStatsExpand description
Print a unified diff to stdout
This is a convenience function that generates and prints a diff.
ยงArguments
path- The file pathoriginal- The original file contentmodified- The modified file content
Returns statistics about the diff.