MCPcopy Create free account
hub / github.com/Noumena-Network/code / addDiffs

Function addDiffs

src/commands/repaint/repaint.ts:125–134  ·  view source on GitHub ↗
(label: string, diffs: RowDiff[])

Source from the content-addressed store, hash-verified

123 const structuralDiffs: StructuralDiff[] = []
124
125 function addDiffs(label: string, diffs: RowDiff[]) {
126 for (const diff of diffs) {
127 structuralDiffs.push({
128 source: label,
129 row: diff.row,
130 expected: diff.expected,
131 actual: diff.actual,
132 })
133 }
134 }
135
136 const frontVsTmux = compareRows(frontRows, tmuxVisibleRows)
137 addDiffs('tmux_vs_front', frontVsTmux)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected