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

Function explore

__tests__/explore-path-pinning.test.ts:31–34  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

29let cg: CodeGraph;
30
31async function explore(query: string): Promise<string> {
32 const res = await new ToolHandler(cg).execute('codegraph_explore', { query });
33 return res.content?.[0]?.text ?? '';
34}
35
36/** The response renders a source section for `file`. */
37const hasSection = (response: string, file: string): boolean =>

Callers 1

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected