This website requires JavaScript.
Explore
Help
Sign in
beenull
/
ladybird
Watch
1
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2024-11-30 03:20:28 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
7
6b73a2d8a4
ladybird
/
Userland
/
Libraries
/
LibDiff
/
CMakeLists.txt
10 lines
106 B
Text
Raw
Normal View
History
Unescape
Escape
LibDiff: Add library for working with diffs LibDiff currently contains functionality for parsing diffs in the "unified format" and for a generating simple diff that contains only additions.
2020-09-12 17:38:55 +00:00
set(SOURCES
LibDiff: Add Diff::apply_patch Given a set of lines from the file we are patching, and a patch itself, this function will try and locate where in the file to apply that patch, and write the result of patching that file (if successful) to the output stream.
2023-07-06 12:32:54 +00:00
Applier.cpp
LibDiff: Add library for working with diffs LibDiff currently contains functionality for parsing diffs in the "unified format" and for a generating simple diff that contains only additions.
2020-09-12 17:38:55 +00:00
Format.cpp
LibDiff: Add new API to generate hunks from two pieces of text For now this is just a standard implementation of the longest common subsequence algorithm over the lines, except that it doesn't do any coalescing of the lines. This isn't really ideal since we get a single Hunk per changed line, and is definitely something to improve in the future.
2021-09-16 01:58:53 +00:00
Generator.cpp
Hunks.cpp
LibDiff: Add library for working with diffs LibDiff currently contains functionality for parsing diffs in the "unified format" and for a generating simple diff that contains only additions.
2020-09-12 17:38:55 +00:00
)
serenity_lib(LibDiff diff)
Reference in a new issue
Copy permalink