Expand description
Bounded, line-spanned patch application into an isolated workspace copy.
A patch is one contiguous line range in one file, replaced verbatim. The application is deliberately strict: it refuses paths that escape the workspace root and spans that fall outside the target file. Multi-file application is gated behind an explicit flag so the default stays one span in one file, matching the single-span tasks the miner emits.
Structs§
- Applied
Patch - Audit record of one applied span.
- Span
Replacement - One contiguous, line-bounded replacement in a single file.
Functions§
- apply_
edits - Apply a set of edits inside
root. - apply_
single_ span - Apply one span replacement inside
root.