MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Restore

Method Restore

module/strategy/iml.go:117–119  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

115}
116
117func (i *imlStrategyModule) Restore(ctx context.Context, id string) error {
118 return i.strategyService.Restore(ctx, id)
119}
120
121func (i *imlStrategyModule) DeleteServiceStrategy(ctx context.Context, serviceId string, id string) error {
122 _, err := i.strategyService.LatestStrategyCommit(ctx, strategy_dto.ScopeService, serviceId, id)

Callers

nothing calls this directly

Calls 1

RestoreMethod · 0.65

Tested by

no test coverage detected