MCPcopy 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
10export function resolveDataDir(override?: string | null): string {
11 return override || process.env.AGENT_TOWER_DATA_DIR || getDefaultDataDir();
12}

Callers 9

parseArgsFunction · 0.85
getLogsDirFunction · 0.85
getErrorLogFilePathFunction · 0.85
getInternalApiTokenPathFunction · 0.85
readInternalApiTokenFunction · 0.85
getConversationRootFunction · 0.85
mainFunction · 0.85

Calls 1

getDefaultDataDirFunction · 0.85

Tested by

no test coverage detected