MCPcopy
hub / github.com/the-open-agent/openagent / get

Method get

tool/shell.go:1056–1064  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

1054}
1055
1056func (m *shellSessionManager) get(id string) *shellSession {
1057 m.mu.Lock()
1058 defer m.mu.Unlock()
1059 session := m.sessions[id]
1060 if session != nil {
1061 session.lastActivity = time.Now()
1062 }
1063 return session
1064}
1065
1066func (m *shellSessionManager) delete(id string) {
1067 m.mu.Lock()

Callers 15

ReFunction · 0.45
MeFunction · 0.45
swagger-ui.jsFile · 0.45
KeFunction · 0.45
rtFunction · 0.45
uFunction · 0.45
lFunction · 0.45
VeFunction · 0.45
CFunction · 0.45
kFunction · 0.45
IFunction · 0.45
PFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected