Documentation ¶
Index ¶
- func CompareImmutable(exp, real trie.Immutable, handler BytesDifferenceHandler) error
- func CompareImmutableForObject(exp, real trie.ImmutableForObject, handler ObjectDifferenceHandler) error
- func New(database db.Database) trie.Manager
- func NewImmutable(db db.Database, h []byte) trie.Immutable
- func NewImmutableForObject(db db.Database, h []byte, t reflect.Type) trie.ImmutableForObject
- func NewMutable(database db.Database, h []byte) trie.Mutable
- func NewMutableForObject(db db.Database, h []byte, t reflect.Type) trie.MutableForObject
- func NewMutableFromImmutable(object trie.Immutable) trie.Mutable
- func NewMutableFromImmutableForObject(object trie.ImmutableForObject) trie.MutableForObject
- func SetCacheOfMutable(mutable trie.Mutable, cache *cache.NodeCache)
- func SetCacheOfMutableForObject(mutable trie.MutableForObject, cache *cache.NodeCache)
- type BytesDifferenceHandler
- type ObjectDifferenceHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareImmutable ¶ added in v0.9.7
func CompareImmutable(exp, real trie.Immutable, handler BytesDifferenceHandler) error
func CompareImmutableForObject ¶ added in v0.9.7
func CompareImmutableForObject(exp, real trie.ImmutableForObject, handler ObjectDifferenceHandler) error
func NewImmutableForObject ¶
func NewMutableForObject ¶
func NewMutableFromImmutableForObject ¶
func NewMutableFromImmutableForObject(object trie.ImmutableForObject) trie.MutableForObject
func SetCacheOfMutable ¶ added in v1.2.9
func SetCacheOfMutableForObject ¶ added in v1.2.9
func SetCacheOfMutableForObject(mutable trie.MutableForObject, cache *cache.NodeCache)
Types ¶
type BytesDifferenceHandler ¶ added in v0.9.7
Click to show internal directories.
Click to hide internal directories.