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

Method GetRepository

pkg/graph/schema.resolvers.go:94–96  ·  view source on GitHub ↗

GetRepository is the resolver for the getRepository field.

(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

92
93// GetRepository is the resolver for the getRepository field.
94func (r *queryResolver) GetRepository(ctx context.Context, id string) (*model.Repository, error) {
95 return repositories.Get(ctx, id)
96}
97
98// Storages is the resolver for the storages field.
99func (r *queryResolver) Storages(ctx context.Context) ([]*model.Storage, error) {

Callers

nothing calls this directly

Calls 1

GetFunction · 0.92

Tested by

no test coverage detected