pub fn diff_hygiene(diff: &str) -> Vec<HygieneIssue>Expand description
Scan a raw unified diff for deterministic diff-hygiene issues (class D). Targets added files only — the change-set hazards a normal diff view hides. No model, no clone; runs on the raw diff so a file filtered out of the review is still seen.
Vendored paths are skipped — see diff_hygiene_with, which this delegates to
with the default vendored directories.