Skip to main content

diff_summary

Function diff_summary 

Source
pub fn diff_summary(prior: &Value, edited: &Value) -> String
Expand description

Operator-facing summary of how many top-level fields differ between the prior and edited documents. Cheap heuristic — the CLI prints it before asking “looks good?” so the operator has a sanity check on what they touched.