Compact node shape retained by the CLI's existing JSON lists.
(node: Node)
| 415 | |
| 416 | /** Compact node shape retained by the CLI's existing JSON lists. */ |
| 417 | function cliNode(node: Node) { |
| 418 | return { name: node.name, kind: node.kind, filePath: node.filePath, startLine: node.startLine }; |
| 419 | } |
| 420 | |
| 421 | /** Call-site lines `codegraph callers` prints for one caller; `--json` lists them all. */ |
| 422 | const CLI_CALL_SITES_SHOWN = 10; |
no outgoing calls
no test coverage detected