MCPcopy Create free account
hub / github.com/subtrace/subtrace / Map

Method Map

event/event.go:115–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113}
114
115func (ev *Event) Map() map[string]string {
116 ev.mu.RLock()
117 defer ev.mu.RUnlock()
118
119 m := make(map[string]string)
120 for key, val := range ev.vals {
121 m[key] = val
122 }
123 return m
124}

Callers 1

FinishMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected