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

Function write

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

Source from the content-addressed store, hash-verified

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

Callers 2

sync.test.tsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected