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

Function write

__tests__/namespace-object-resolution.test.ts:25–29  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

23 });
24
25 function write(rel: string, content: string): void {
26 const full = path.join(dir, rel);
27 fs.mkdirSync(path.dirname(full), { recursive: true });
28 fs.writeFileSync(full, content);
29 }
30
31 it('resolves Api.member() to the function the shorthand property names', async () => {
32 write('package.json', '{"name":"app"}');

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected