MCPcopy
hub / github.com/colbymchenry/codegraph / text

Function text

__tests__/node-file-view.test.ts:55–56  ·  view source on GitHub ↗
(args: Record<string, unknown>)

Source from the content-addressed store, hash-verified

53 });
54
55 const text = async (args: Record<string, unknown>): Promise<string> =>
56 (await h.execute('codegraph_node', args)).content.map((c) => c.text).join('\n');
57
58 it('reads a whole file like Read by default — `<n>\\t<line>` lines (no pad), imports + gaps included', async () => {
59 const out = await text({ file: 'b.ts' }); // no includeCode needed — content is the default

Callers 1

Calls 2

joinMethod · 0.80
executeMethod · 0.80

Tested by

no test coverage detected