Expand description
Unified-diff parse and apply (git renames, pure renames, hunk fuzz).
size-waiver: single-domain patch parse + apply + pure renames (#2101). Co-located tests push line count. Policy #1408 — do not split for LOC alone.
Structs§
- Apply
Hunks Options - Apply
Hunks Result - Conflict
Range - Hunk
- Merge
Error - Merge
Result - Patch
Apply File Result - Patch
File
Enums§
Functions§
- apply_
hunks - apply_
hunks_ with_ options - merge_
hunks - parse_
patch - rename_
dest_ exists_ msg - Error message when
rename_would_clobber_destis true. - rename_
would_ clobber_ dest - True when a git rename would overwrite an existing destination that is not
a case-only rename of the source (parity with
file.renamewithout force).