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

Function cliNode

src/bin/codegraph.ts:438–440  ·  view source on GitHub ↗

Compact node shape retained by the CLI's existing JSON lists.

(node: Node)

Source from the content-addressed store, hash-verified

436
437/** Compact node shape retained by the CLI's existing JSON lists. */
438function cliNode(node: Node) {
439 return { name: node.name, kind: node.kind, filePath: node.filePath, startLine: node.startLine };
440}
441
442/** Call-site lines `codegraph callers` prints for one caller; `--json` lists them all. */
443const CLI_CALL_SITES_SHOWN = 10;

Callers 3

cliDefinitionFunction · 0.85
rowFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected