diff options
Diffstat (limited to 'bucket.go')
-rw-r--r-- | bucket.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -23,3 +23,17 @@ func (b *Bucket) cursor() *Cursor { stack: make([]pageElementRef, 0), } } + +func (b *Bucket) Stat() *Stat { + // TODO: Calculate size, depth, page count (by type), entry count, readers, etc. + return nil +} + +type Stat struct { + PageSize int + Depth int + BranchPageCount int + LeafPageCount int + OverflowPageCount int + EntryCount int +} |