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

Method AddRepository

pkg/graph/schema.resolvers.go:34–36  ·  view source on GitHub ↗

AddRepository is the resolver for the addRepository field.

(ctx context.Context, input model.AddRepositoryInput)

Source from the content-addressed store, hash-verified

32
33// AddRepository is the resolver for the addRepository field.
34func (r *mutationResolver) AddRepository(ctx context.Context, input model.AddRepositoryInput) (*model.Repository, error) {
35 return repositories.Add(ctx, input)
36}
37
38// DeleteRepository is the resolver for the deleteRepository field.
39func (r *mutationResolver) DeleteRepository(ctx context.Context, id string) (*model.Repository, error) {

Callers

nothing calls this directly

Calls 1

AddFunction · 0.92

Tested by

no test coverage detected