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

Method omittedLine

src/mcp/tools.ts:8301–8301  ·  view source on GitHub ↗
(omitted: Node[])

Source from the content-addressed store, hash-verified

8299 ];
8300 const listLine = (n: Node) => `- \`${n.name}\` (${n.kind}) — ${n.filePath}:${n.startLine}`;
8301 const omittedLine = (omitted: Node[]) => `- … +${omitted.length} more: ${describeOmittedDefinitions(omitted)}`;
8302 if (!includeCode) {
8303 const prefix = [header, '', 'Re-query with `includeCode: true` to get every body in one call — no need to pick one first.', ''];
8304 const prefixChars = prefix.join('\n').length + 1;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected