From 73ab1d420dedd965ebe6f814dcf016c8e10879f2 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Fri, 24 Jan 2014 16:32:18 -0700 Subject: TODO --- branch_node.go | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 branch_node.go (limited to 'branch_node.go') 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] -} -- cgit v1.2.3