MCPcopy Create free account
hub / github.com/rsc/tmp / Predict

Method Predict

mpt/mem.go:187–200  ·  view source on GitHub ↗

Predict returns the hash of the tree that would result from applying the given changes (sorted by key) to the tree, without modifying the tree.

(changes []KeyVal)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

predictMethod · 0.95
reduceFunction · 0.85
prefixFunction · 0.85
hashLeafFunction · 0.85
hashStackFunction · 0.85

Tested by

no test coverage detected