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

Function getText

__tests__/mcp-stale-slice.test.ts:70–72  ·  view source on GitHub ↗
(result: { content: Array<{ type: string; text?: string }>; isError?: boolean })

Source from the content-addressed store, hash-verified

68}
69
70function getText(result: { content: Array<{ type: string; text?: string }>; isError?: boolean }): string {
71 return result.content.map((c) => c.text ?? '').join('\n');
72}
73
74describe('MCP stale-slice guard (#1474)', () => {
75 let fixtureDir: string; // the project that goes stale

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected