MCPcopy Create free account
hub / github.com/nhost/nhost / NewManager

Function NewManager

cli/software/sofware.go:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func NewManager() *Manager {
23 return &Manager{
24 client: &http.Client{}, //nolint:exhaustruct
25 cache: nil,
26 }
27}
28
29func (mgr *Manager) filterReleases(releases Releases, version string) Releases {
30 if !strings.HasPrefix(version, "v") {

Callers 2

commandUpgradeFunction · 0.92
checkCLIVersionFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected