MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / releasesURL

Method releasesURL

internal/update/update.go:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (o Options) releasesURL() string {
51 if o.ReleasesURL != "" {
52 return o.ReleasesURL
53 }
54 return defaultReleasesURL
55}
56
57// CheckForUpdate checks if a newer version is available.
58func CheckForUpdate(currentVersion string, opts Options) (*CheckResult, error) {

Callers 2

CheckForUpdateFunction · 0.80
PerformUpdateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected