MCPcopy Create free account
hub / github.com/coder/coder / regionID

Method regionID

enterprise/replicasync/replicasync.go:436–440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

434}
435
436func (m *Manager) regionID() int32 {
437 m.mutex.Lock()
438 defer m.mutex.Unlock()
439 return m.self.RegionID
440}
441
442// SetCallback sets a function to execute whenever new peers
443// are refreshed or updated.

Callers 1

RegionalMethod · 0.95

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected