MCPcopy Create free account
hub / github.com/git-bug/git-bug / simpleResolvers

Function simpleResolvers

entities/bug/bug.go:55–59  ·  view source on GitHub ↗
(repo repository.ClockedRepo)

Source from the content-addressed store, hash-verified

53}
54
55func simpleResolvers(repo repository.ClockedRepo) entity.Resolvers {
56 return entity.Resolvers{
57 &identity.Identity{}: identity.NewSimpleResolver(repo),
58 }
59}
60
61// Read will read a bug from a repository
62func Read(repo repository.ClockedRepo, id entity.Id) (*Bug, error) {

Callers 2

ReadFunction · 0.70
ReadAllFunction · 0.70

Calls 1

NewSimpleResolverFunction · 0.92

Tested by

no test coverage detected