MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / RawMap

Method RawMap

internal/utils/maps/map_fixed.go:74–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func (this *FixedMap[KeyT, ValueT]) RawMap() map[KeyT]ValueT {
75 this.locker.RLock()
76 defer this.locker.RUnlock()
77 return this.m
78}

Callers 1

TestNewFixedMapFunction · 0.80

Calls 2

RLockMethod · 0.80
RUnlockMethod · 0.80

Tested by 1

TestNewFixedMapFunction · 0.64