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

Method SetString

sinks.go:84–89  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

82}
83
84func (s *stringSink) SetString(v string) error {
85 s.v.b = nil
86 s.v.s = v
87 *s.sp = v
88 return nil
89}
90
91func (s *stringSink) SetBytes(v []byte) error {
92 return s.SetString(string(v))

Callers 1

SetBytesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected