MCPcopy Index your code
hub / github.com/garrytan/gstack / createSessionId

Function createSessionId

design/src/session.ts:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 * Generate a unique session ID from PID + timestamp.
21 */
22export function createSessionId(): string {
23 return `${process.pid}-${Date.now()}`;
24}
25
26/**
27 * Get the file path for a session.

Callers 1

createSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected