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

Function sync

packages/app/src/context/directory-sync.ts:113–116  ·  view source on GitHub ↗
(sessionID: string, options?: { force?: boolean })

Source from the content-addressed store, hash-verified

111 })
112 },
113 async sync(sessionID: string, options?: { force?: boolean }) {
114 await serverSync.session.sync(sessionID, options)
115 index(sessionID)
116 },
117 diff: serverSync.session.diff,
118 todo: serverSync.session.todo,
119 history: serverSync.session.history,

Callers 15

useMcpToggleFunction · 0.70
local.tsxFile · 0.70
configuredModelFunction · 0.70
useQueryOptionsFunction · 0.70
StatusPopoverFunction · 0.50
DirectoryStatusPopoverFunction · 0.50
DialogForkFunction · 0.50
handleSelectFunction · 0.50
StatusPopoverBodyFunction · 0.50
mcpStatusFunction · 0.50
commentInReviewFunction · 0.50
PromptInputFunction · 0.50

Calls 2

syncMethod · 0.80
indexFunction · 0.70

Tested by

no test coverage detected