Table of Contents

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

Path string

The relative source path to update.

MoveTo string?

The optional relative destination path for a move.

Hunks IReadOnlyList<PatchHunk>

The ordered hunks to apply to the source content.