Skip to content

joinDiffBlocks

joinDiffBlocks(blocks, diffFiles): VisualBlock[]

Defined in: src/visual-blocks.ts:600

For each diff block, attach the matching DiffFile (exact path match). Drops diff blocks with no match (enforces true-by-construction). Non-diff blocks pass through. Returns a new array; inputs not mutated.

VisualBlock[]

DiffFile[]

VisualBlock[]