MCPcopy Create free account
hub / github.com/compozy/agh / resolveUpdateRuntime

Function resolveUpdateRuntime

internal/cli/update.go:133–143  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

131}
132
133func resolveUpdateRuntime(deps commandDeps) (*runtimeContext, bool, error) {
134 runtime, err := loadRuntimeContext(deps)
135 if err != nil {
136 return nil, false, err
137 }
138 _, running, err := daemonInfo(runtime.HomePaths, deps)
139 if err != nil {
140 return nil, false, err
141 }
142 return runtime, running, nil
143}
144
145func finishLocalUpdate(
146 cmd *cobra.Command,

Callers 1

applyAvailableUpdateFunction · 0.85

Calls 2

loadRuntimeContextFunction · 0.85
daemonInfoFunction · 0.85

Tested by

no test coverage detected