Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/claude-code-best/claude-code
/ getProjectDir
Function
getProjectDir
src/utils/cachePaths.ts:21–23 ·
view source on GitHub ↗
(cwd: string)
Source
from the content-addressed store, hash-verified
19
}
20
21
function
getProjectDir(cwd: string): string {
22
return
sanitizePath(cwd)
23
}
24
25
export
const
CACHE_PATHS = {
26
baseLogs: () => join(paths.cache, getProjectDir(getFsImplementation().cwd())),
Callers
15
getSessionDir
Function · 0.70
getTranscriptPath
Function · 0.70
getTranscriptPathForSession
Function · 0.70
getAgentTranscriptPath
Function · 0.70
getRemoteAgentsDir
Function · 0.70
sessionIdExists
Function · 0.70
hydrateRemoteSession
Function · 0.70
hydrateFromCCRv2InternalEvents
Function · 0.70
fetchLogs
Function · 0.70
loadSessionFile
Function · 0.70
getStatOnlyLogsForWorktrees
Function · 0.70
loadAllSubagentTranscriptsFromDisk
Function · 0.70
Calls
1
sanitizePath
Function · 0.70
Tested by
no test coverage detected