MCPcopy Index your code
hub / github.com/codeaashu/claude-code / versionIsAvailable

Function versionIsAvailable

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

Source from the content-addressed store, hash-verified

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

Callers 2

performVersionUpdateFunction · 0.85
updateLatestFunction · 0.85

Calls 2

getVersionPathsFunction · 0.85
isPossibleClaudeBinaryFunction · 0.85

Tested by

no test coverage detected