MCPcopy Create free account
hub / github.com/anus-dev/ANUS / createEmptyDir

Function createEmptyDir

packages/core/src/utils/getFolderStructure.test.ts:19–22  ·  view source on GitHub ↗
(...pathSegments: string[])

Source from the content-addressed store, hash-verified

17 let testRootDir: string;
18
19 async function createEmptyDir(...pathSegments: string[]) {
20 const fullPath = path.join(testRootDir, ...pathSegments);
21 await fsPromises.mkdir(fullPath, { recursive: true });
22 }
23
24 async function createTestFile(...pathSegments: string[]) {
25 const fullPath = path.join(testRootDir, ...pathSegments);

Callers 1

Calls 1

mkdirMethod · 0.80

Tested by

no test coverage detected