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

Method ApplyRelease

internal/cli/update.go:34–34  ·  view source on GitHub ↗
(context.Context, *aghupdate.Release)

Source from the content-addressed store, hash-verified

32type updateManager interface {
33 Check(context.Context, aghupdate.CheckOptions) (aghupdate.State, *aghupdate.Release, error)
34 ApplyRelease(context.Context, *aghupdate.Release) (aghupdate.AppliedBinary, error)
35 Restore(aghupdate.AppliedBinary) error
36 Finalize(aghupdate.AppliedBinary) error
37}

Callers 2

applyAvailableUpdateFunction · 0.65
TestManagerApplyReleaseFunction · 0.65

Implementers 2

stubUpdateManagerinternal/cli/lifecycle_test.go
Managerinternal/update/types.go

Calls

no outgoing calls

Tested by 1

TestManagerApplyReleaseFunction · 0.52