Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
15
export
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
writeConfigFile
Function · 0.90
Calls
1
getConfigDir
Function · 0.85
Tested by
no test coverage detected