Expand description
Byte-exact hunk applier.
CRLF asymmetry, by design: this module is byte-faithful — \r stays attached
to line content and round-trips exactly. Only the shape normaliser
(shape.rs) is CRLF-agnostic. The two modules disagree on purpose.
Functions§
- apply_
hunks - Apply a subset of one file’s hunks to its base content. Hunks are disjoint
under
-U0.