MCPcopy Create free account
hub / github.com/bufbuild/buf / newResult

Function newResult

private/pkg/cache/cache.go:69–74  ·  view source on GitHub ↗
(value V, err error)

Source from the content-addressed store, hash-verified

67}
68
69func newResult[V any](value V, err error) *result[V] {
70 return &result[V]{
71 value: value,
72 err: err,
73 }
74}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…