aboutsummaryrefslogtreecommitdiff
path: root/bucket.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-10 16:58:16 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-10 16:58:16 -0700
commita68bd301db09ef5465f12ff4242696799da5b14d (patch)
treeb6dc2efd0908df4ca7ff270181e46a1e4d85a77c /bucket.go
parentClean up. (diff)
parentAdd freelist. (diff)
downloaddedo-a68bd301db09ef5465f12ff4242696799da5b14d.tar.gz
dedo-a68bd301db09ef5465f12ff4242696799da5b14d.tar.xz
Merge pull request #20 from benbjohnson/freelist
Freelist
Diffstat (limited to 'bucket.go')
-rw-r--r--bucket.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/bucket.go b/bucket.go
index fdaadf8..28c570e 100644
--- a/bucket.go
+++ b/bucket.go
@@ -23,17 +23,3 @@ 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
-}