Module patch

Module patch 

Source
Expand description

Core patch types and application logic.

A patch represents a single atomic edit operation on a file, defined by a character range and optional replacement text. Patches can be created from line-based positions (for compatibility with tools like cargo diagnostics) or directly from character indices.

Structs§

Patch
A single atomic patch operation on a file.

Enums§

PatchError
Errors that can occur when applying patches.