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

Method listLine

src/mcp/tools.ts:8153–8153  ·  view source on GitHub ↗
(n: Node)

Source from the content-addressed store, hash-verified

8151 ...definitionCapOrder(nodes.filter((n) => isGenerated(n.filePath))),
8152 ];
8153 const listLine = (n: Node) => `- \`${n.name}\` (${n.kind}) — ${n.filePath}:${n.startLine}`;
8154 const omittedLine = (omitted: Node[]) => `- … +${omitted.length} more: ${describeOmittedDefinitions(omitted)}`;
8155 if (!includeCode) {
8156 const prefix = [header, '', 'Re-query with `includeCode: true` to get every body in one call — no need to pick one first.', ''];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected