Skip to main content

diff_content

Function diff_content 

Source
pub fn diff_content(sign_map: &DiffSignMap) -> ElementContent
Expand description

Format a diff sign-map into the +N ~M modeline content (ML.3). The formatter the diff subsystem owns — moved here from the retired DiffMode::status_line_items. Empty content (no adds/changes) ⇒ hidden this frame (the caller’s apply clears the slot).