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

Function refreshOpencodeCheck

packages/desktop/src/main/wsl/servers.ts:141–143  ·  view source on GitHub ↗
(distro: string, opts?: { signal?: AbortSignal })

Source from the content-addressed store, hash-verified

139 }
140
141 const refreshOpencodeCheck = async (distro: string, opts?: { signal?: AbortSignal }) => {
142 setOpencodeCheck(distro, await checkOpencode(distro, opts))
143 }
144
145 const probeAddableDistros = async (distros: string[], opts?: { signal?: AbortSignal }) => {
146 const unique = [...new Set(distros)]

Callers 1

installOpencodeFunction · 0.85

Calls 2

setOpencodeCheckFunction · 0.85
checkOpencodeFunction · 0.85

Tested by

no test coverage detected