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

Method Delete

service/strategy/iml.go:155–164  ·  view source on GitHub ↗
(ctx context.Context, id ...string)

Source from the content-addressed store, hash-verified

153}
154
155func (i *imlStrategyService) Delete(ctx context.Context, id ...string) error {
156 if len(id) == 0 {
157 return nil
158 }
159 _, err := i.store.DeleteWhere(ctx, map[string]interface{}{"uuid": id})
160 if err != nil {
161 return err
162 }
163 return nil
164}
165
166func (i *imlStrategyService) OnComplete() {
167

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected