Constructor UpdateFileOperation
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
UpdateFileOperation(string, string?, IReadOnlyList<PatchHunk>)
Represents an operation that modifies or moves an existing file.
public UpdateFileOperation(string Path, string? MoveTo, IReadOnlyList<PatchHunk> Hunks)Parameters
Pathstring-
The relative source path to update.
MoveTostring?-
The optional relative destination path for a move.
HunksIReadOnlyList<PatchHunk>-
The ordered hunks to apply to the source content.