MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / sessionLastUsedAt

Function sessionLastUsedAt

server/mcp/handler.go:469–474  ·  view source on GitHub ↗
(currentSession *session)

Source from the content-addressed store, hash-verified

467}
468
469func sessionLastUsedAt(currentSession *session) time.Time {
470 if currentSession.lastUsedAt.IsZero() {
471 return currentSession.createdAt
472 }
473 return currentSession.lastUsedAt
474}
475
476func acceptsStreamableHTTP(accept string) bool {
477 if accept == "" {

Calls

no outgoing calls

Tested by

no test coverage detected