Skip to main content

Module adopt

Module adopt 

Source

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 original and modified, returning structured hunks.
interactive_adopt
Interactively prompt the user to accept or reject each hunk of changes.