mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +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
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