MCPcopy
hub / github.com/anomalyco/opencode / get

Function get

packages/tui/src/context/sync.tsx:566–570  ·  view source on GitHub ↗
(sessionID: string)

Source from the content-addressed store, hash-verified

564 },
565 session: {
566 get(sessionID: string) {
567 const match = search(store.session, sessionID, (s) => s.id)
568 if (match.found) return store.session[match.index]
569 return undefined
570 },
571 query() {
572 return sessionListQuery()
573 },

Callers

nothing calls this directly

Calls 1

searchFunction · 0.70

Tested by

no test coverage detected