MCPcopy Index your code
hub / github.com/larksuite/cli / FetchLatest

Function FetchLatest

internal/update/update.go:195–197  ·  view source on GitHub ↗

FetchLatest queries the npm registry and returns the latest published version. This is a synchronous call with timeout, intended for diagnostic commands (doctor).

()

Source from the content-addressed store, hash-verified

193// FetchLatest queries the npm registry and returns the latest published version.
194// This is a synchronous call with timeout, intended for diagnostic commands (doctor).
195func FetchLatest() (string, error) {
196 return fetchLatestVersion()
197}
198
199// --- npm registry ---
200

Callers 2

checkCLIUpdateFunction · 0.92
update.goFile · 0.92

Calls 1

fetchLatestVersionFunction · 0.85

Tested by

no test coverage detected