Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmartPool/smartpool-client
/ Copy
Method
Copy
mtree/merkle_tree.go:17–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
}
16
17
func
(n node) Copy() node {
18
return
node{n.Data.Copy(), n.NodeCount, &
map
[uint32]BranchTree{}}
19
}
20
21
type
hashFunc
func
(NodeData, NodeData) NodeData
22
type
elementHashFunc
func
(ElementData) NodeData
Callers
nothing calls this directly
Calls
1
Copy
Method · 0.65
Tested by
no test coverage detected