Constructor PatchHunk
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
PatchHunk(string?, IReadOnlyList<PatchHunkLine>, bool)
Represents one patch hunk with optional context header and line edits.
public PatchHunk(string? Header, IReadOnlyList<PatchHunkLine> Lines, bool IsEndOfFile)Parameters
Headerstring?-
Optional context text used to locate the hunk.
LinesIReadOnlyList<PatchHunkLine>-
The ordered context, added, and removed lines.
IsEndOfFilebool-
Whether the hunk explicitly appends or preserves an ending newline.