MCPcopy Create free account
hub / github.com/modem-dev/hunk / plannedReviewRowVisible

Function plannedReviewRowVisible

src/ui/diff/plannedReviewRows.ts:71–76  ·  view source on GitHub ↗
(
  row: PlannedReviewRow,
  options: PlannedReviewRowLayoutOptions,
)

Source from the content-addressed store, hash-verified

69
70/** Check whether a planned row will produce any visible output at all. */
71export function plannedReviewRowVisible(
72 row: PlannedReviewRow,
73 options: PlannedReviewRowLayoutOptions,
74) {
75 return plannedReviewRowHeight(row, options) > 0;
76}
77
78/**
79 * Walk one file's planned rows and derive section geometry plus hunk-local bounds.

Callers 2

PierreDiffViewFunction · 0.90

Calls 1

plannedReviewRowHeightFunction · 0.85

Tested by

no test coverage detected