Bump on-disk version to 2

This commit is contained in:
Jakob Unterwurzacher 2015-11-02 23:09:14 +01:00
parent 0ec17c3939
commit 66db3ad086
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
)
const (
HEADER_CURRENT_VERSION = 1 // Current on-disk-format version
HEADER_CURRENT_VERSION = 2 // Current on-disk-format version
HEADER_VERSION_LEN = 2 // uint16
HEADER_ID_LEN = 16 // 128 bit random file id
HEADER_LEN = HEADER_VERSION_LEN + HEADER_ID_LEN // Total header length