diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-21 22:34:54 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-21 22:34:54 -0600 |
commit | 0e4d77d424b2f18c76da7643de88b462b86310f2 (patch) | |
tree | 3b2e834d1563bc2ce856f224973cc5d262a2a708 /page.go | |
parent | Add 'bolt keys'. (diff) | |
download | dedo-0e4d77d424b2f18c76da7643de88b462b86310f2.tar.gz dedo-0e4d77d424b2f18c76da7643de88b462b86310f2.tar.xz |
Add 'bolt pages'.
Diffstat (limited to 'page.go')
-rw-r--r-- | page.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -119,3 +119,11 @@ func (n *leafPageElement) value() []byte { buf := (*[maxAllocSize]byte)(unsafe.Pointer(n)) return buf[n.pos+n.ksize : n.pos+n.ksize+n.vsize] } + +// PageInfo represents human readable information about a page. +type PageInfo struct { + ID int + Type string + Count int + OverflowCount int +} |