MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getDataDir

Function getDataDir

src/commands/insights.ts:420–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

418// Calling it at module scope would populate the memoize cache before
419// entrypoints can set CLAUDE_CONFIG_DIR, breaking all 150+ other callers.
420function getDataDir(): string {
421 return join(getClaudeConfigHomeDir(), 'usage-data')
422}
423function getFacetsDir(): string {
424 return join(getDataDir(), 'facets')
425}

Callers 3

getFacetsDirFunction · 0.85
getSessionMetaDirFunction · 0.85
generateUsageReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected