Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

daimaou92/difflore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

Learning text diffs [rust]

Steps

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

Thanks

  1. Awesome explanation of Myer's Algo

About

figuring out text diffs from zero

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /