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

Method DeleteRepository

pkg/graph/schema.resolvers.go:39–41  ·  view source on GitHub ↗

DeleteRepository is the resolver for the deleteRepository field.

(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

37
38// DeleteRepository is the resolver for the deleteRepository field.
39func (r *mutationResolver) DeleteRepository(ctx context.Context, id string) (*model.Repository, error) {
40 return repositories.Delete(ctx, id)
41}
42
43// AddStorage is the resolver for the addStorage field.
44func (r *mutationResolver) AddStorage(ctx context.Context, input model.AddStorageInput) (*model.Storage, error) {

Callers

nothing calls this directly

Calls 1

DeleteFunction · 0.92

Tested by

no test coverage detected