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

Function createEmptyDir

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

mkdirMethod · 0.80

Tested by

no test coverage detected