MCPcopy
hub / github.com/VSCodeVim/Vim / createDir

Function createDir

test/testUtils.ts:86–90  ·  view source on GitHub ↗
(fsPath?: string)

Source from the content-addressed store, hash-verified

84}
85
86export async function createDir(fsPath?: string): Promise<string> {
87 fsPath ??= join(os.tmpdir(), rndName());
88 await promisify(fs.mkdir)(fsPath);
89 return fsPath;
90}
91
92/**
93 * Waits for the number of text editors in the current window to equal the

Callers

nothing calls this directly

Calls 2

joinFunction · 0.90
rndNameFunction · 0.85

Tested by

no test coverage detected