diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-22 14:12:00 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-22 14:12:00 -0600 |
commit | 6d6303a0a2f4252f8fb9d8b610f1d49f76112b12 (patch) | |
tree | 804a006a06f8fd45a160adb83385b75fc9697248 /page.go | |
parent | Merge pull request #71 from benbjohnson/munmap-fix (diff) | |
parent | Fix print. (diff) | |
download | dedo-6d6303a0a2f4252f8fb9d8b610f1d49f76112b12.tar.gz dedo-6d6303a0a2f4252f8fb9d8b610f1d49f76112b12.tar.xz |
Merge pull request #74 from benbjohnson/cli
CLI
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 +} |