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

Function index

__tests__/operator-method-names.test.ts:148–152  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

146 };
147
148 const index = async (root: string): Promise<CodeGraph> => {
149 const cg = await CodeGraph.init(root, { index: true });
150 graphs.push(cg);
151 return cg;
152 };
153
154 /** `<qualified name>@<file>:<line>` of each call from the node at `file`:`line`. */
155 const callsFrom = (cg: CodeGraph, file: string, line: number): string[] => {

Callers 1

Calls 2

pushMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected