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

Function write

__tests__/go-func-field-dispatch.test.ts:394–397  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

392 it('links the provider it adds, and unlinks it when the wiring goes', async () => {
393 dir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-go-func-field-sync-'));
394 const write = (rel: string, content: string) => {
395 fs.mkdirSync(path.dirname(path.join(dir, rel)), { recursive: true });
396 fs.writeFileSync(path.join(dir, rel), content);
397 };
398 // A file that only wires: no method, no struct of its own.
399 const gce = (options: string) => `package gce
400

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected