Skip to main content

diff

Function diff 

Source
pub fn diff(path: &str, before: &str, after: &str) -> Option<Diff>
Expand description

Compare a file’s lines now and after, side by side. None when either is too long to compare line by line.