MCPcopy Index your code
hub / github.com/git-bug/git-bug / ReadWithResolver

Function ReadWithResolver

entities/bug/bug.go:67–69  ·  view source on GitHub ↗

ReadWithResolver will read a bug from its Id, with custom resolvers

(repo repository.ClockedRepo, resolvers entity.Resolvers, id entity.Id)

Source from the content-addressed store, hash-verified

65
66// ReadWithResolver will read a bug from its Id, with custom resolvers
67func ReadWithResolver(repo repository.ClockedRepo, resolvers entity.Resolvers, id entity.Id) (*Bug, error) {
68 return dag.Read(def, wrapper, repo, resolvers, id)
69}
70
71// ReadAll read and parse all local bugs
72func ReadAll(repo repository.ClockedRepo) <-chan entity.StreamedEntity[*Bug] {

Callers 1

ReadFunction · 0.85

Calls 1

ReadFunction · 0.92

Tested by

no test coverage detected