mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
LibDiff: Implement ability to parse a patch header
This is a somewhat naive implementation, but it is enough to parse a simple unified patch header. After parsing the patch header, the parser will be at the beginning of the first hunks range, ready for that hunk to be parsed.
This commit is contained in:
parent
ef45221c21
commit
efb26b1781
3 changed files with 44 additions and 0 deletions
|
@ -8,8 +8,11 @@
|
|||
|
||||
namespace Diff {
|
||||
|
||||
enum class Format;
|
||||
|
||||
class Parser;
|
||||
|
||||
struct Header;
|
||||
struct Hunk;
|
||||
struct HunkLocation;
|
||||
struct Line;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue