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

Function checkForUpdates

packages/desktop/src/main/updater-controller.test.ts:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 const calls: string[] = []
6 const backend: UpdaterBackend = {
7 async checkForUpdates() {
8 calls.push("check")
9 return { isUpdateAvailable: true, updateInfo: { version: "2.0.0" } }
10 },
11 async downloadUpdate() {
12 calls.push("download")
13 },

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected