Structs§
- Hunk
- A single diff hunk representing a localized change between the original and modified file.
Functions§
- apply_
hunks - Apply selected hunks to the original text, producing the patched result.
- extract_
hunks - Compute the diff between
originalandmodified, returning structured hunks. - interactive_
adopt - Interactively prompt the user to accept or reject each hunk of changes.