MCPcopy Create free account
hub / github.com/Noumena-Network/code / versionIsAvailable

Function versionIsAvailable

src/utils/nativeInstaller/installer.ts:478–481  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

476}
477
478async function versionIsAvailable(version: string): Promise<boolean> {
479 const { installPath } = await getVersionPaths(version)
480 return isPossibleNcodeBinary(installPath)
481}
482
483async function updateLatest(
484 channelOrVersion: string,

Callers 2

performVersionUpdateFunction · 0.85
updateLatestFunction · 0.85

Calls 2

getVersionPathsFunction · 0.85
isPossibleNcodeBinaryFunction · 0.85

Tested by

no test coverage detected