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

Function write

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

Source from the content-addressed store, hash-verified

551 let cg: CodeGraph;
552
553 function write(rel: string, content: string) {
554 fs.writeFileSync(path.join(testDir, rel), content);
555 }
556
557 function callersOf(fnName: string, kind: string = 'function'): string[] {
558 const results = cg.searchNodes(fnName);

Callers 2

sync.test.tsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected