MCPcopy Index your code
hub / github.com/coder/coder / uuidSet

Struct uuidSet

coderd/workspacestats/tracker.go:198–201  ·  view source on GitHub ↗

uuidSet is a set of UUIDs. Safe for concurrent usage. The zero value can be used.

Source from the content-addressed store, hash-verified

196// uuidSet is a set of UUIDs. Safe for concurrent usage.
197// The zero value can be used.
198type uuidSet struct {
199 l sync.Mutex
200 m map[uuid.UUID]struct{}
201}
202
203func (s *uuidSet) Add(id uuid.UUID) {
204 s.l.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected