MCPcopy
hub / github.com/Fission-AI/OpenSpec / createOpenSpecRoot

Function createOpenSpecRoot

test/core/root-selection.test.ts:49–53  ·  view source on GitHub ↗
(rootDir: string)

Source from the content-addressed store, hash-verified

47 }
48
49 function createOpenSpecRoot(rootDir: string): void {
50 fs.mkdirSync(path.join(rootDir, 'openspec', 'specs'), { recursive: true });
51 fs.mkdirSync(path.join(rootDir, 'openspec', 'changes', 'archive'), { recursive: true });
52 fs.writeFileSync(path.join(rootDir, 'openspec', 'config.yaml'), 'schema: spec-driven\n');
53 }
54
55 async function registerStore(
56 id: string,

Callers 7

registerStoreFunction · 0.70
registerStoreFunction · 0.70
appRootFunction · 0.70
references.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected