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

Function write

__tests__/vue-router.test.ts:122–126  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

120 let cg: CodeGraph;
121
122 function write(rel: string, content: string): void {
123 const full = path.join(tmpDir, rel);
124 fs.mkdirSync(path.dirname(full), { recursive: true });
125 fs.writeFileSync(full, content);
126 }
127
128 beforeAll(async () => {
129 await initGrammars();

Callers 1

vue-router.test.tsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected