MCPcopy Index your code
hub / github.com/Fission-AI/OpenSpec / createPointerDir

Function createPointerDir

test/core/root-selection.test.ts:286–291  ·  view source on GitHub ↗
(relativePath: string, configBody: string)

Source from the content-addressed store, hash-verified

284
285 describe('declared store fallback (3.2)', () => {
286 function createPointerDir(relativePath: string, configBody: string): string {
287 const dir = mkdir(relativePath);
288 fs.mkdirSync(path.join(dir, 'openspec'), { recursive: true });
289 fs.writeFileSync(path.join(dir, 'openspec', 'config.yaml'), configBody);
290 return dir;
291 }
292
293 it('resolves a config-only pointer to the declared store', async () => {
294 const storeRoot = await registerStore('team-context');

Callers 1

Calls 1

mkdirFunction · 0.70

Tested by

no test coverage detected