aboutsummaryrefslogtreecommitdiff
path: root/branch_node.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-01-24 16:32:18 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-01-24 16:32:18 -0700
commit73ab1d420dedd965ebe6f814dcf016c8e10879f2 (patch)
tree2a025e8e8daeaba34953c6b92b83bd579c83962b /branch_node.go
parentTODO (diff)
downloaddedo-73ab1d420dedd965ebe6f814dcf016c8e10879f2.tar.gz
dedo-73ab1d420dedd965ebe6f814dcf016c8e10879f2.tar.xz
TODO
Diffstat (limited to 'branch_node.go')
-rw-r--r--branch_node.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/branch_node.go b/branch_node.go
deleted file mode 100644
index a5bd071..0000000
--- a/branch_node.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package bolt
-
-import (
- "unsafe"
-)
-
-const (
- bigNode = 0x01
- subNode = 0x02
- dupNode = 0x04
-)
-
-// key returns a byte slice that of the key data.
-func (n *branchNode) key() []byte {
- return (*[MaxKeySize]byte)(unsafe.Pointer(&n.data))[:n.keySize]
-}