Skip to main content

canonical_diff_previews

Function canonical_diff_previews 

Source
pub fn canonical_diff_previews(output: &Value) -> Vec<Value>
Expand description

Return the canonical bounded diff entries from a file-operation response.

diff[] is the shared response contract for multi-file operations. The legacy diff_preview object is normalized into a one-entry list so older write/create responses render and persist through the same path.