MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / getConfigDir

Function getConfigDir

src/config/settings.ts:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56] as const
57
58export function getConfigDir(): string {
59 return process.env.MATTERAI_CONFIG_DIR || path.join(os.homedir(), ".orbcode")
60}
61
62function getConfigPath(): string {
63 return path.join(getConfigDir(), "config.json")

Callers 15

getCachePathFunction · 0.85
writeCacheFunction · 0.85
applyMigrationFunction · 0.85
loadMemoryFilesFunction · 0.85
getSessionsDirFunction · 0.85
reauthServerMethod · 0.85
loadMcpConfigFunction · 0.85
settingsPathForScopeFunction · 0.85
authDirFunction · 0.85
loadSkillsFunction · 0.85
historyPathFunction · 0.85
appendPromptHistoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected