MCPcopy
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
21function getProjectDir(cwd: string): string {
22 return sanitizePath(cwd)
23}
24
25export const CACHE_PATHS = {
26 baseLogs: () => join(paths.cache, getProjectDir(getFsImplementation().cwd())),

Callers 15

getSessionDirFunction · 0.70
getTranscriptPathFunction · 0.70
getAgentTranscriptPathFunction · 0.70
getRemoteAgentsDirFunction · 0.70
sessionIdExistsFunction · 0.70
hydrateRemoteSessionFunction · 0.70
fetchLogsFunction · 0.70
loadSessionFileFunction · 0.70

Calls 1

sanitizePathFunction · 0.70

Tested by

no test coverage detected