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

Method Walk

config/route_trie.go:335–337  ·  view source on GitHub ↗

Walk iterates over each key/value stored in the trie and calls the given walker function with the key and fm. If the walker function returns an error, the walk is aborted. The traversal is depth first with no guaranteed order.

(walker walkFn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestPathTrieWalkFunction · 0.80

Calls 1

walkMethod · 0.95

Tested by 1

TestPathTrieWalkFunction · 0.64