MCPcopy Index your code
hub / github.com/devspace-sh/devspace / GetSession

Function GetSession

helper/tunnel/session.go:89–95  ·  view source on GitHub ↗
(id uuid.UUID)

Source from the content-addressed store, hash-verified

87}
88
89func GetSession(id uuid.UUID) (*Session, bool) {
90 request, ok := openSessions.Load(id)
91 if ok {
92 return request.(*Session), ok
93 }
94 return nil, ok
95}

Callers 3

ReceiveDataFunction · 0.92
ReceiveDataFunction · 0.85
addSessionFunction · 0.85

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected