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

Function write

__tests__/tanstack-router.test.ts:184–188  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

182 let cg: CodeGraph;
183
184 function write(rel: string, content: string): void {
185 const full = path.join(tmpDir, rel);
186 fs.mkdirSync(path.dirname(full), { recursive: true });
187 fs.writeFileSync(full, content);
188 }
189
190 beforeAll(async () => {
191 await initGrammars();

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected