pub fn to_batch(report: &ListReport) -> Vec<CommentOp>Expand description
The comments list --format batch payload: one ready-made "keep" op stub per
non-annotation span in report.
{file, hash, op: "keep", lines, text} – copy the array verbatim and flip op on the
entries you’re changing. lines/text are read-only context on anything but replace;
apply ignores a "keep" op entirely.