Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/upstash/context7
/ getConfigDir
Function
getConfigDir
packages/cli/src/utils/storage-paths.ts:22–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
}
21
22
export
function
getConfigDir(): string {
23
return
xdgBase(
"XDG_CONFIG_HOME"
,
".config"
);
24
}
25
26
export
function
getStateDir(): string {
27
return
xdgBase(
"XDG_STATE_HOME"
,
".local"
,
"state"
);
Callers
3
getCredentialsFilePath
Function · 0.85
ensureConfigDir
Function · 0.85
storage-paths.test.ts
File · 0.85
Calls
1
xdgBase
Function · 0.85
Tested by
no test coverage detected