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

Method Store

coderd/util/syncmap/map.go:18–20  ·  view source on GitHub ↗
(k K, v V)

Source from the content-addressed store, hash-verified

16}
17
18func (m *Map[K, V]) Store(k K, v V) {
19 m.m.Store(k, v)
20}
21
22//nolint:forcetypeassert
23func (m *Map[K, V]) Load(key K) (value V, ok bool) {

Calls

no outgoing calls