MCPcopy
hub / github.com/codeaashu/claude-code / getMemoryBaseDir

Function getMemoryBaseDir

src/memdir/paths.ts:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 * 2. ~/.claude (default config home)
84 */
85export function getMemoryBaseDir(): string {
86 if (process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR) {
87 return process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR
88 }
89 return getClaudeConfigHomeDir()
90}
91
92const AUTO_MEM_DIRNAME = 'memory'
93const AUTO_MEM_ENTRYPOINT_NAME = 'MEMORY.md'

Callers 6

getAgentMemoryDirFunction · 0.85
isAgentMemoryPathFunction · 0.85
getMemoryScopeDisplayFunction · 0.85
isMemoryDirectoryFunction · 0.85
paths.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected