Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/name5566/leaf
/ UnsafeSet
Method
UnsafeSet
util/map.go:32–35 ·
view source on GitHub ↗
(key interface{}, value interface{})
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(m *Map) UnsafeSet(key
interface
{}, value
interface
{}) {
33
m.init()
34
m.m[key] = value
35
}
36
37
func
(m *Map) Set(key
interface
{}, value
interface
{}) {
38
m.Lock()
Callers
1
Set
Method · 0.95
Calls
1
init
Method · 0.95
Tested by
no test coverage detected