Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agent-tower/core
/ resolveDataDir
Function
resolveDataDir
packages/server/src/utils/data-dir.ts:10–12 ·
view source on GitHub ↗
(override?: string | null)
Source
from the content-addressed store, hash-verified
8
}
9
10
export
function
resolveDataDir(override?: string | null): string {
11
return
override || process.env.AGENT_TOWER_DATA_DIR || getDefaultDataDir();
12
}
Callers
9
parseArgs
Function · 0.85
getLogsDir
Function · 0.85
getErrorLogFilePath
Function · 0.85
getInternalApiTokenPath
Function · 0.85
readInternalApiToken
Function · 0.85
getOrCreateInternalApiToken
Function · 0.85
getProtectedInternalRoots
Function · 0.85
getConversationRoot
Function · 0.85
main
Function · 0.85
Calls
1
getDefaultDataDir
Function · 0.85
Tested by
no test coverage detected