MCPcopy Create free account
hub / github.com/encoder-run/operator / DeleteModel

Method DeleteModel

pkg/graph/schema.resolvers.go:29–31  ·  view source on GitHub ↗

DeleteModel is the resolver for the deleteModel field.

(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

27
28// DeleteModel is the resolver for the deleteModel field.
29func (r *mutationResolver) DeleteModel(ctx context.Context, id string) (*model.Model, error) {
30 return models.Delete(ctx, id)
31}
32
33// AddRepository is the resolver for the addRepository field.
34func (r *mutationResolver) AddRepository(ctx context.Context, input model.AddRepositoryInput) (*model.Repository, error) {

Callers

nothing calls this directly

Calls 1

DeleteFunction · 0.92

Tested by

no test coverage detected