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

Method withTail

src/mcp/tools.ts:6625–6629  ·  view source on GitHub ↗
(parts: ReadonlyArray<{ text: string }>, extraDropped = 0)

Source from the content-addressed store, hash-verified

6623 // withheld — the structure map is what makes this render legible).
6624 const dd = dedupeSpans(skel);
6625 const withTail = (parts: ReadonlyArray<{ text: string }>, extraDropped = 0) => {
6626 const dropped = sigDropped + extraDropped;
6627 const tail = dropped > 0 ? `… +${dropped} more (signatures elided)` : '';
6628 return [...parts.map((p) => p.text), ...(tail ? [tail] : [])].join('\n');
6629 };
6630 const header = fileSectionHeader(filePath, `${names} · ${tag}`);
6631 // The ceiling fit test every other render path has (CG-26), which this
6632 // one lacked: it emitted whatever it built, so a skeleton at the tail

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected