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