MCPcopy
hub / github.com/codeaashu/claude-code / getSessionDir

Function getSessionDir

src/utils/toolResultStorage.ts:97–99  ·  view source on GitHub ↗

* Get the session directory (projectDir/sessionId)

()

Source from the content-addressed store, hash-verified

95 * Get the session directory (projectDir/sessionId)
96 */
97function getSessionDir(): string {
98 return join(getProjectDir(getOriginalCwd()), getSessionId())
99}
100
101/**
102 * Get the tool results directory for this session (projectDir/sessionId/tool-results)

Callers 1

getToolResultsDirFunction · 0.85

Calls 3

getOriginalCwdFunction · 0.85
getSessionIdFunction · 0.85
getProjectDirFunction · 0.70

Tested by

no test coverage detected