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

Function write

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

Source from the content-addressed store, hash-verified

242 let cg: CodeGraph;
243
244 function write(rel: string, content: string): void {
245 const full = path.join(tmpDir, rel);
246 fs.mkdirSync(path.dirname(full), { recursive: true });
247 fs.writeFileSync(full, content);
248 }
249
250 beforeAll(async () => {
251 await initGrammars();

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected