file1
andfile2
in<root>/
directory are taken as inputsfile1
is treated as the original file.file2
is treated as the new one.- Run the Myers Diff algorithm
on them using
cargo run --bin myers
- Every deleted line is printed begining with
-
- Prefix for additions is
+
and for identical lines its two blank spaces.