mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibDiff: Add Diff::write_context_header
This is used to write a context patch header.
This commit is contained in:
parent
f02cf2704c
commit
44f141dd24
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/shannonbooth
Commit: 44f141dd24
Pull-request: https://github.com/SerenityOS/serenity/pull/19766
2 changed files with 9 additions and 0 deletions
|
@ -26,4 +26,5 @@ ErrorOr<void> write_unified_header(StringView old_path, StringView new_path, Str
|
|||
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