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

Function makeProject

__tests__/root-identity.test.ts:36–41  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

34 });
35
36 function makeProject(name: string): string {
37 const proj = path.join(tmp, name);
38 fs.mkdirSync(path.join(proj, '.codegraph'), { recursive: true });
39 fs.writeFileSync(path.join(proj, '.codegraph', 'codegraph.db'), 'x');
40 return proj;
41 }
42
43 it('treats a directory and a symlink that points at it as one index', () => {
44 const real = makeProject('proj');

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected