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

Function explore

__tests__/explore-named-symbol-render.test.ts:52–55  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

50}
51
52async function explore(query: string): Promise<string> {
53 const res = await new ToolHandler(cg).execute('codegraph_explore', { query });
54 return res.content?.[0]?.text ?? '';
55}
56
57function defLineOf(name: string): number {
58 const node = cg.getNodesByName(name).find((n) => n.filePath === TARGET && n.startLine > 0);

Callers 2

linesForFunction · 0.70

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected