MCPcopy Index your code
hub / github.com/golang/groupcache / StringSink

Function StringSink

sinks.go:69–71  ·  view source on GitHub ↗

StringSink returns a Sink that populates the provided string pointer.

(sp *string)

Source from the content-addressed store, hash-verified

67
68// StringSink returns a Sink that populates the provided string pointer.
69func StringSink(sp *string) Sink {
70 return &stringSink{sp: sp}
71}
72
73type stringSink struct {
74 sp *string

Callers 6

TestGetDupSuppressStringFunction · 0.85
TestCachingFunction · 0.85
TestCacheEvictionFunction · 0.85
TestPeersFunction · 0.85
TestNoDedupFunction · 0.85
TestHTTPPoolFunction · 0.85

Calls

no outgoing calls

Tested by 6

TestGetDupSuppressStringFunction · 0.68
TestCachingFunction · 0.68
TestCacheEvictionFunction · 0.68
TestPeersFunction · 0.68
TestNoDedupFunction · 0.68
TestHTTPPoolFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…