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

Method PutMeta

config/route_trie.go:257–270  ·  view source on GitHub ↗

PutMeta inserts the `fm` into the trie at the given key, replacing any existing items, except the Events which will be appended to `fm`. It returns true if the put adds a new fm, false if it replaces an existing fm. The pointer fm gets dereferenced.

(key string, fm *FieldMeta)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

WithFieldMetaGeneratorFunction · 0.80
WithFieldMetaFunction · 0.80
WithApplySectionsFunction · 0.80
TestPathTrieNormalFunction · 0.80

Calls 1

trieGetNodeFunction · 0.85

Tested by 1

TestPathTrieNormalFunction · 0.64