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

Method short

src/mcp/tools.ts:2331–2331  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

2329 const raw = process.env.CODEGRAPH_MCP_TOOLS;
2330 if (!raw || !raw.trim()) return null;
2331 const short = (s: string) => s.trim().replace(/^codegraph_/, '');
2332 const set = new Set(raw.split(',').map(short).filter(Boolean));
2333 return set.size ? set : null;
2334 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected