mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibDiff: Remove a bunch of unused code
We have no need to support normal or context diffs in ladybird, as well as the ability to parse and apply patches.
This commit is contained in:
parent
03e34db9f8
commit
41b060be81
Notes:
github-actions[bot]
2025-05-13 10:47:39 +00:00
Author: https://github.com/shannonbooth
Commit: 41b060be81
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4717
8 changed files with 0 additions and 657 deletions
|
@ -13,8 +13,6 @@
|
|||
|
||||
namespace Diff {
|
||||
|
||||
ByteString generate_only_additions(StringView);
|
||||
|
||||
enum class ColorOutput {
|
||||
Yes,
|
||||
No,
|
||||
|
@ -23,8 +21,4 @@ enum class ColorOutput {
|
|||
ErrorOr<void> write_unified(Hunk const& hunk, Stream& stream, ColorOutput color_output = ColorOutput::No);
|
||||
ErrorOr<void> write_unified_header(StringView old_path, StringView new_path, Stream& stream);
|
||||
|
||||
ErrorOr<void> write_normal(Hunk const& hunk, Stream& stream, ColorOutput color_output = ColorOutput::No);
|
||||
|
||||
ErrorOr<void> write_context(Hunk const& hunk, Stream& stream, ColorOutput color_output = ColorOutput::No);
|
||||
ErrorOr<void> write_context_header(StringView old_path, StringView new_path, Stream& stream);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue