pub fn validate_patch(original: &str, patch: &FilePatch) -> Vec<PatchConflict>Expand description
Validate a patch against the original content without applying it.
Returns a list of conflicts — an empty vec means the combo will land cleanly.
pub fn validate_patch(original: &str, patch: &FilePatch) -> Vec<PatchConflict>Validate a patch against the original content without applying it.
Returns a list of conflicts — an empty vec means the combo will land cleanly.