Skip to main content

compute_comment_positions

Function compute_comment_positions 

Source
fn compute_comment_positions(detail: &PatchsetDetail) -> Vec<usize>
Expand description

Compute line positions of comment boundaries in a patchset detail.

Mirrors the line-counting logic of detail_header_lines, detail_patches_lines, and detail_thread_lines without building styled Line objects.