Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
22
export
function
createSessionId(): string {
23
return
`${process.pid}-${Date.now()}`;
24
}
25
26
/**
27
* Get the file path
for
a session.
Callers
1
createSession
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected