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

Method init

mpt/disk.go:476–493  ·  view source on GitHub ↗

init initializes the node n with the given key, val, bit, left, and right; it also sets dirty=true and clears ihash.

(t *diskTree, key Key, val Val, bit int, left, right *diskNode)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

SetMethod · 0.45
setChildMethod · 0.45

Calls 7

leafAddrMethod · 0.95
putAddrFunction · 0.85
addrMethod · 0.80
WriteDiskMethod · 0.80
copyFunction · 0.50
mutateMethod · 0.45
brokenMethod · 0.45

Tested by

no test coverage detected