MCPcopy Index your code
hub / github.com/modem-dev/hunk / isAddNoteTargetRow

Function isAddNoteTargetRow

src/ui/diff/PierreDiffView.tsx:31–33  ·  view source on GitHub ↗

Return whether a diff row can be used as an inline user-note target.

(row: DiffRow)

Source from the content-addressed store, hash-verified

29
30/** Return whether a diff row can be used as an inline user-note target. */
31function isAddNoteTargetRow(row: DiffRow): row is AddNoteTargetRow {
32 return row.type === "split-line" || row.type === "stack-line";
33}
34
35/** Resolve the note insertion target represented by a visible add-note affordance. */
36function addNoteAffordanceForRow(row: AddNoteTargetRow): ActiveAddNoteAffordance {

Callers 1

PierreDiffViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected