Function diff

Source
pub fn diff(old: impl AsRef<str>, new: impl AsRef<str>, color: bool) -> String
Expand description

Show diff between two files.

  • color: ANSI color diff. (red & green)