Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
84
func
(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
91
func
(s *stringSink) SetBytes(v []byte) error {
92
return
s.SetString(string(v))
Callers
1
SetBytes
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected