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

Method setLatestMapping

enterprise/tailnet/connio.go:232–236  ·  view source on GitHub ↗
(latest []mapping)

Source from the content-addressed store, hash-verified

230}
231
232func (c *connIO) setLatestMapping(latest []mapping) {
233 c.mu.Lock()
234 defer c.mu.Unlock()
235 c.latest = latest
236}
237
238func (c *connIO) getLatestMapping() []mapping {
239 c.mu.Lock()

Callers 1

runMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected