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

Function write

__tests__/status-language-coverage.test.ts:40–46  ·  view source on GitHub ↗
(files: Record<string, string>)

Source from the content-addressed store, hash-verified

38 });
39
40 function write(files: Record<string, string>): void {
41 for (const [file, content] of Object.entries(files)) {
42 const full = path.join(dir, file);
43 fs.mkdirSync(path.dirname(full), { recursive: true });
44 fs.writeFileSync(full, content);
45 }
46 }
47
48 async function indexed(files: Record<string, string>): Promise<CodeGraph> {
49 write(files);

Callers 2

indexedFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected