Function get_raw_diff

Source
pub fn get_raw_diff(path: &Path, dir_flag: bool) -> String
Expand description

Performs ‘git diff -U1000 ’ or ‘git -C [path] diff -U1000 ’ and returns the result as a string