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

Function write

__tests__/ui-steps-api.test.ts:24–28  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

22let cg: CodeGraph;
23
24function write(rel: string, content: string): void {
25 const full = path.join(tmpDir, rel);
26 fs.mkdirSync(path.dirname(full), { recursive: true });
27 fs.writeFileSync(full, content);
28}
29
30beforeAll(async () => {
31 await initGrammars();

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected