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

Method Regional

enterprise/replicasync/replicasync.go:432–434  ·  view source on GitHub ↗

Regional returns all replicas in the same region excluding itself.

()

Source from the content-addressed store, hash-verified

430
431// Regional returns all replicas in the same region excluding itself.
432func (m *Manager) Regional() []database.Replica {
433 return m.InRegion(m.regionID())
434}
435
436func (m *Manager) regionID() int32 {
437 m.mutex.Lock()

Callers 3

syncReplicasMethod · 0.95
updateEntitlementsMethod · 0.80
TestReplicaFunction · 0.80

Calls 2

InRegionMethod · 0.95
regionIDMethod · 0.95

Tested by 1

TestReplicaFunction · 0.64