MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveCliSessionPath

Function resolveCliSessionPath

src/cli/auth-session.ts:316–318  ·  view source on GitHub ↗
(stateDir: string)

Source from the content-addressed store, hash-verified

314}
315
316export function resolveCliSessionPath(stateDir: string): string {
317 return path.join(stateDir, 'auth', 'cli-session.json');
318}
319
320export function summarizeCliSession(options: { stateDir: string; now?: () => number }): {
321 authenticated: boolean;

Callers 4

readCliSessionFunction · 0.85
writeCliSessionFunction · 0.85
removeCliSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected