MCPcopy
hub / github.com/etcd-io/etcd / tsafeSet

Struct tsafeSet

client/pkg/types/set.go:125–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125type tsafeSet struct {
126 us *unsafeSet
127 m sync.RWMutex
128}
129
130func (ts *tsafeSet) Add(value string) {
131 ts.m.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected