pub fn build_diff_preview( path: &str, before: Option<&str>, after: &str, ) -> Value
Build a unified diff preview between before and after content.