pub fn render_hunk_header(
hunk: &DiffHunk,
config: &DiffConfig,
area: Rect,
buf: &mut Buffer,
)Expand description
Renders a hunk header line (e.g., “@@ -1,4 +1,5 @@ fn main()”).
§Arguments
hunk- The diff hunk whose header to renderconfig- Display configurationarea- The area to render in (single line)buf- The buffer to render to