Skip to main content

render_diff

Function render_diff 

Source
pub fn render_diff(candidate: &AdoptCandidate) -> String
Expand description

Render the complete line-by-line diff between what is on disk and what alef would generate. Never truncated — see this module’s header for why.

Called for drifted candidates only. A converged candidate has no divergence to render, so its diff would be the whole file repeated as context lines.