MCPcopy Create free account
hub / github.com/anomalyco/opencode / touchPart

Function touchPart

packages/tui/src/context/sync.tsx:150–152  ·  view source on GitHub ↗
(sessionID: string, partID: string)

Source from the content-addressed store, hash-verified

148 hydratingSessions.get(sessionID)?.messages.add(messageID)
149 }
150 const touchPart = (sessionID: string, partID: string) => {
151 hydratingSessions.get(sessionID)?.parts.add(partID)
152 }
153
154 function sessionListQuery(): { scope?: "project"; path?: string } {
155 if (!kv.get("session_directory_filter_enabled", true)) return { scope: "project" }

Callers 1

sync.tsxFile · 0.85

Calls 2

addMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected