Skip to main content

compute_diff_info

Function compute_diff_info 

Source
pub fn compute_diff_info(before: &str, after: &str) -> Value
Expand description

Compute diff info between before/after content for UI metadata. Returns a JSON value with before, after, additions, deletions. For files >512KB, omits full content and returns only counts.