MCPcopy Create free account
hub / github.com/corestoreio/pkg / PutEvent

Method PutEvent

config/route_trie.go:240–251  ·  view source on GitHub ↗

PutEvent inserts the eo into the trie at the given key, replacing any existing items. It returns true if the put adds a new fm, false if it replaces an existing fm.

(event uint8, key string, eo Observer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

RegisterObserverMethod · 0.80
TestPathTrieNormalFunction · 0.80
TestPathTrieNilBehaviorFunction · 0.80
TestPathTrieRootFunction · 0.80
TestPathTrieWalkFunction · 0.80

Calls 1

trieGetNodeFunction · 0.85

Tested by 4

TestPathTrieNormalFunction · 0.64
TestPathTrieNilBehaviorFunction · 0.64
TestPathTrieRootFunction · 0.64
TestPathTrieWalkFunction · 0.64