Skip to main content

render

Function render 

Source
pub fn render(diff: &SurfaceDiff) -> String
Expand description

One ADDED/REMOVED/CHANGED line per item, ready for terminals and changelog drafts; an empty diff renders as a single “no changes” line.