MCPcopy Index your code
hub / github.com/subtrace/subtrace / Set

Method Set

event/event.go:58–62  ·  view source on GitHub ↗
(key string, val string)

Source from the content-addressed store, hash-verified

56}
57
58func (ev *Event) Set(key string, val string) {
59 ev.mu.Lock()
60 defer ev.mu.Unlock()
61 ev.setLocked(key, val)
62}
63
64func (ev *Event) setLocked(key string, val string) {
65 if ev.vals == nil {

Callers 11

NewLazyMethod · 0.95
InitFunction · 0.45
FinishMethod · 0.45
WithTokenFunction · 0.45
WithTagFunction · 0.45
SetLocalTagsAsyncFunction · 0.45
GetMethod · 0.45
FetchLocalFunction · 0.45
FetchGKEFunction · 0.45
websocketMethod · 0.45
htmlMethod · 0.45

Calls 2

setLockedMethod · 0.95
LockMethod · 0.80

Tested by

no test coverage detected