MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / ensureConfigDir

Function ensureConfigDir

src/config/paths.ts:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15export async function ensureConfigDir(): Promise<void> {
16 const dir = getConfigDir();
17 const fs = await import('fs/promises');
18 await fs.mkdir(dir, { recursive: true, mode: 0o700 });
19}

Callers 1

writeConfigFileFunction · 0.90

Calls 1

getConfigDirFunction · 0.85

Tested by

no test coverage detected