MCPcopy Create free account
hub / github.com/golang/groupcache / view

Method view

sinks.go:131–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func (s *byteViewSink) view() (ByteView, error) {
132 return *s.dst, nil
133}
134
135func (s *byteViewSink) SetProto(m proto.Message) error {
136 b, err := proto.Marshal(m)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected