MCPcopy Create free account
hub / github.com/callstack/agent-device / resolveSessionDir

Method resolveSessionDir

src/daemon/session-store.ts:74–76  ·  view source on GitHub ↗
(sessionName: string)

Source from the content-addressed store, hash-verified

72 }
73
74 resolveSessionDir(sessionName: string): string {
75 return path.join(this.sessionsDir, safeSessionName(sessionName));
76 }
77
78 ensureSessionDir(sessionName: string): string {
79 const sessionDir = this.resolveSessionDir(sessionName);

Callers 8

ensureSessionDirMethod · 0.95
resolveAppLogPathMethod · 0.95
resolveAppLogPidPathMethod · 0.95
sessionChecksFunction · 0.80
resolveDoctorStateDirFunction · 0.80

Calls 1

safeSessionNameFunction · 0.90

Tested by

no test coverage detected