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

Function getTranscriptPath

src/utils/sessionStorage.ts:202–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200}
201
202export function getTranscriptPath(): string {
203 const projectDir = getSessionProjectDir() ?? getProjectDir(getOriginalCwd())
204 return join(projectDir, `${getSessionId()}.jsonl`)
205}
206
207export function getTranscriptPathForSession(sessionId: string): string {
208 // When asking for the CURRENT session's transcript, honor sessionProjectDir

Callers 15

loadRawTranscriptJsonlFunction · 0.85
autoNameSessionFromPlanFunction · 0.85
handleResponseFunction · 0.85
submitTranscriptShareFunction · 0.85
adoptResumedSessionFileFunction · 0.85
findUnresolvedToolUseFunction · 0.85
getTranscriptStatsFunction · 0.85
execAgentHookFunction · 0.85
callFunction · 0.85
createForkFunction · 0.85

Calls 4

getSessionProjectDirFunction · 0.85
getOriginalCwdFunction · 0.85
getSessionIdFunction · 0.85
getProjectDirFunction · 0.70

Tested by

no test coverage detected