DeleteRepository is the resolver for the deleteRepository field.
(ctx context.Context, id string)
| 37 | |
| 38 | // DeleteRepository is the resolver for the deleteRepository field. |
| 39 | func (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. |
| 44 | func (r *mutationResolver) AddStorage(ctx context.Context, input model.AddStorageInput) (*model.Storage, error) { |