pub fn ApplyPatches(Source: &str, Patches: &[Patch]) -> Option<String>Expand description
Apply a sorted list of non-overlapping patches to Source.
Returns None when:
- Any patch has Start > End.
- Any two patches overlap.
- Any offset is out of bounds for Source.