MCPcopy
hub / github.com/etcd-io/bbolt / dereference

Method dereference

bucket.go:921–929  ·  view source on GitHub ↗

dereference removes all references to the old mmap.

()

Source from the content-addressed store, hash-verified

919
920// dereference removes all references to the old mmap.
921func (b *Bucket) dereference() {
922 if b.rootNode != nil {
923 b.rootNode.root().dereference()
924 }
925
926 for _, child := range b.buckets {
927 child.dereference()
928 }
929}
930
931// pageNode returns the in-memory node, if it exists.
932// Otherwise, returns the underlying page.

Callers

nothing calls this directly

Calls 1

rootMethod · 0.80

Tested by

no test coverage detected