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

Function indexed

__tests__/node-overload-spread.test.ts:28–32  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

26}
27
28async function indexed(root: string): Promise<{ cg: CodeGraph; handler: ToolHandler }> {
29 const cg = CodeGraph.initSync(root);
30 await cg.indexAll();
31 return { cg, handler: new ToolHandler(cg) };
32}
33
34async function nodeText(handler: ToolHandler, args: Record<string, unknown>): Promise<string> {
35 const res = await handler.execute('codegraph_node', args);

Callers 1

Calls 2

initSyncMethod · 0.80
indexAllMethod · 0.45

Tested by

no test coverage detected