Versions in this module Expand all Collapse all v0 v0.13.8 Nov 15, 2024 Changes in this version + type MergedNodeSet struct + Sets map[common.Hash]*NodeSet + func NewMergedNodeSet() *MergedNodeSet + func NewWithNodeSet(set *NodeSet) *MergedNodeSet + func (set *MergedNodeSet) Flatten() map[common.Hash]map[string]*Node + func (set *MergedNodeSet) Merge(other *NodeSet) error + type Node struct + Blob []byte + Hash common.Hash + func New(hash common.Hash, blob []byte) *Node + func NewDeleted() *Node + func (n *Node) IsDeleted() bool + func (n *Node) Size() int + type NodeSet struct + Leaves []*leaf + Nodes map[string]*Node + Owner common.Hash + func NewNodeSet(owner common.Hash) *NodeSet + func (set *NodeSet) AddLeaf(parent common.Hash, blob []byte) + func (set *NodeSet) AddNode(path []byte, n *Node) + func (set *NodeSet) ForEachWithOrder(callback func(path string, n *Node)) + func (set *NodeSet) Hashes() []common.Hash + func (set *NodeSet) Merge(owner common.Hash, nodes map[string]*Node) error + func (set *NodeSet) Size() (int, int) + func (set *NodeSet) Summary() string