Module apply_patch

Module apply_patch 

Source
Expand description

Patch application module implementing the OpenAI Codex patch format

This module provides functionality to parse and apply patches in the format used by OpenAI Codex, which is designed to be easy to parse and safe to apply.

Structs§

ApplyPatchInput
Input structure for the apply_patch tool
Patch
Represents a complete patch
PatchHunk
Represents a hunk in a patch

Enums§

PatchLine
Represents a line in a patch hunk
PatchOperation
Represents a patch operation