aboutsummaryrefslogtreecommitdiff
path: root/const.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-04-07 16:24:51 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-04-11 12:36:54 -0600
commit698b07b074dc554578ecddd138972702f46d0879 (patch)
treef171f10bd4f17986cb9120d71263995b28273a7a /const.go
parentUpdate cursor benchmark. (diff)
downloaddedo-698b07b074dc554578ecddd138972702f46d0879.tar.gz
dedo-698b07b074dc554578ecddd138972702f46d0879.tar.xz
Add nested buckets.
This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56.
Diffstat (limited to 'const.go')
-rw-r--r--const.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/const.go b/const.go
index 00228be..4669347 100644
--- a/const.go
+++ b/const.go
@@ -1,6 +1,6 @@
package bolt
-const version = 1
+const version = 2
const (
maxUint = ^uint(0)
@@ -10,9 +10,6 @@ const (
)
const (
- // MaxBucketNameSize is the maximum length of a bucket name, in bytes.
- MaxBucketNameSize = 255
-
// MaxKeySize is the maximum length of a key, in bytes.
MaxKeySize = 32768