pub async fn diff_file( path: &Path, new_content: &str, context_lines: usize, ) -> Result<String, Error>
Produce a unified diff between the file’s current content and proposed new content.