1
Fork 0
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:
Shannon Booth 2023-06-27 20:55:50 +12:00 committed by Andrew Kaster
parent f690807c5a
commit a4e50deeea
2 changed files with 22 additions and 0 deletions

View file

@ -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);
}