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

Function write

__tests__/sync.test.ts:465–467  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

463 let cg: CodeGraph;
464
465 function write(rel: string, content: string) {
466 fs.writeFileSync(path.join(testDir, rel), content);
467 }
468
469 function callersOf(fnName: string, kind: string = 'function'): string[] {
470 const results = cg.searchNodes(fnName);

Callers 1

sync.test.tsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected