MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / versionIsAvailable

Function versionIsAvailable

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

Source from the content-addressed store, hash-verified

485}
486
487async function versionIsAvailable(version: string): Promise<boolean> {
488 const { installPath } = await getVersionPaths(version)
489 return isPossibleClaudeBinary(installPath)
490}
491
492async function updateLatest(
493 channelOrVersion: string,

Callers 2

performVersionUpdateFunction · 0.85
updateLatestFunction · 0.85

Calls 2

getVersionPathsFunction · 0.85
isPossibleClaudeBinaryFunction · 0.85

Tested by

no test coverage detected