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

Method view

sinks.go:79–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (s *stringSink) view() (ByteView, error) {
80 // TODO(bradfitz): return an error if no Set was called
81 return s.v, nil
82}
83
84func (s *stringSink) SetString(v string) error {
85 s.v.b = nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected