Skip to content

reconcileFileTree

reconcileFileTree(blocks, diffFiles): VisualBlock[]

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

For each file-tree block, override entry changes with real diff statuses and drop invented paths. Drops whole block when all entries are invented. Non-file-tree blocks pass through. Returns a new array; inputs not mutated.

VisualBlock[]

DiffFile[]

VisualBlock[]