Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ getProjectDir
Function
getProjectDir
source code/utils/cachePaths.ts:23–25 ·
view source on GitHub ↗
(cwd: string)
Source
from the content-addressed store, hash-verified
21
}
22
23
function
getProjectDir(cwd: string): string {
24
return
sanitizePath(cwd)
25
}
26
27
export
const
CACHE_PATHS = {
28
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