Skip to main content

classify_diff

Function classify_diff 

Source
pub fn classify_diff(diff_text: &str) -> DiffClassification
Expand description

Classify a unified diff into a DiffType with a human-readable reason.

Operates purely on the diff text — no file I/O.