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

Function mk

__tests__/same-name-disambiguation.test.ts:36–40  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

34
35 tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-764-'));
36 const mk = (rel: string, content: string) => {
37 const p = path.join(tmpDir, rel);
38 fs.mkdirSync(path.dirname(p), { recursive: true });
39 fs.writeFileSync(p, content);
40 };
41
42 for (const app of ['billing', 'admin']) {
43 mk(

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected