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

Method Bucket

internal/common/page.go:327–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325}
326
327func (n *leafPageElement) Bucket() *InBucket {
328 if n.IsBucketEntry() {
329 return LoadBucket(n.Value())
330 } else {
331 return nil
332 }
333}
334
335// PageInfo represents human readable information about a page.
336type PageInfo struct {

Callers 3

TestRevertMetaPageFunction · 0.45
traverseMethod · 0.45

Calls 3

IsBucketEntryMethod · 0.95
ValueMethod · 0.95
LoadBucketFunction · 0.85

Tested by 2

TestRevertMetaPageFunction · 0.36