MCPcopy
hub / github.com/MiniMax-AI/cli / getConfigPath

Function getConfigPath

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

Source from the content-addressed store, hash-verified

9}
10
11export function getConfigPath(): string {
12 return join(getConfigDir(), 'config.json');
13}
14
15export async function ensureConfigDir(): Promise<void> {
16 const dir = getConfigDir();

Callers 5

loginWithApiKeyFunction · 0.90
runFunction · 0.90
readConfigFileFunction · 0.90
writeConfigFileFunction · 0.90
loadConfigFunction · 0.90

Calls 1

getConfigDirFunction · 0.85

Tested by

no test coverage detected