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

Function write

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected