pub async fn generate_diff(
file_path: &str,
mutated_content: &str,
) -> Result<String>Expand description
Generate a proper unified diff by running git diff --no-index between the
original file on disk and a temp file containing mutated_content.
The resulting patch includes context lines and is suitable for git apply.