MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getProjectTempDir

Function getProjectTempDir

src/utils/permissions/filesystem.ts:376–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

374 * Path format: /tmp/claude-{uid}/{sanitized-cwd}/
375 */
376export function getProjectTempDir(): string {
377 return join(getClaudeTempDir(), sanitizePath(getOriginalCwd())) + sep
378}
379
380/**
381 * Returns the scratchpad directory path for the current session.

Callers 3

getScratchpadDirFunction · 0.85
getTaskOutputDirFunction · 0.85

Calls 2

getOriginalCwdFunction · 0.85
sanitizePathFunction · 0.50

Tested by

no test coverage detected