MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / inertBulk

Function inertBulk

__tests__/explore-allocation-e2e.test.ts:700–705  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

698 const ABSORBER = 'src/render/absorber.ts';
699
700 const inertBulk = (n: number) => `
701export function reconcileLedgerEntry${n}(rows: string[], fallback: string, separator: string): string[] {
702 const trimmed = rows.map((cell) => cell.trim()).filter((cell) => cell.length > 0 && cell !== separator);
703 return trimmed.length > 0 ? trimmed : [fallback, separator, String(trimmed.length), 'entry-${n}'];
704}
705`;
706
707 // Long ENOUGH, in lines, that the absorber cannot ship whole (220 lines is the
708 // other whole-file gate). That matters: a file that renders whole ignores the

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected