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

Function write

__tests__/mediatr-dispatch-synthesizer.test.ts:24–28  ·  view source on GitHub ↗
(rel: string, body: string)

Source from the content-addressed store, hash-verified

22 afterEach(() => { fs.rmSync(dir, { recursive: true, force: true }); });
23
24 const write = (rel: string, body: string) => {
25 const p = path.join(dir, rel);
26 fs.mkdirSync(path.dirname(p), { recursive: true });
27 fs.writeFileSync(p, body);
28 };
29
30 it('bridges Send/Publish to the matching Handle across inline, local, and param arg forms', async () => {
31 write('Requests.cs', `namespace Shop;

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected