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

Method listLine

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

Source from the content-addressed store, hash-verified

8298 ...definitionCapOrder(nodes.filter((n) => isGenerated(n.filePath))),
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.', ''];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected