mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
LibDiff: Add Diff::write_unified for formatting unified hunks
This commit is contained in:
parent
f690807c5a
commit
a4e50deeea
2 changed files with 22 additions and 0 deletions
|
@ -20,6 +20,7 @@ enum class ColorOutput {
|
|||
No,
|
||||
};
|
||||
|
||||
ErrorOr<void> write_unified(Hunk const& hunk, Stream& stream, ColorOutput color_output = ColorOutput::No);
|
||||
ErrorOr<void> write_normal(Hunk const& hunk, Stream& stream, ColorOutput color_output = ColorOutput::No);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue