pub fn compute_write_diff_plain(path: &str, new_content: &str) -> String
Compute a diff for a write operation (file creation or modification) and return it as a plain-text string (no ANSI codes).