diff --git a/lib/db/keyer.go b/lib/db/keyer.go index 56daf68c3..f92ba7b67 100644 --- a/lib/db/keyer.go +++ b/lib/db/keyer.go @@ -22,52 +22,52 @@ const ( const ( // KeyTypeDevice = FileInfo - KeyTypeDevice = 0 + KeyTypeDevice byte = 0 // KeyTypeGlobal = VersionList - KeyTypeGlobal = 1 + KeyTypeGlobal byte = 1 // KeyTypeBlock <32 bytes hash> <§file name> = int32 (block index) - KeyTypeBlock = 2 + KeyTypeBlock byte = 2 // KeyTypeDeviceStatistic = some value - KeyTypeDeviceStatistic = 3 + KeyTypeDeviceStatistic byte = 3 // KeyTypeFolderStatistic = some value - KeyTypeFolderStatistic = 4 + KeyTypeFolderStatistic byte = 4 // KeyTypeVirtualMtime = dbMtime - KeyTypeVirtualMtime = 5 + KeyTypeVirtualMtime byte = 5 // KeyTypeFolderIdx = string value - KeyTypeFolderIdx = 6 + KeyTypeFolderIdx byte = 6 // KeyTypeDeviceIdx = string value - KeyTypeDeviceIdx = 7 + KeyTypeDeviceIdx byte = 7 // KeyTypeIndexID = protocol.IndexID - KeyTypeIndexID = 8 + KeyTypeIndexID byte = 8 // KeyTypeFolderMeta = CountsSet - KeyTypeFolderMeta = 9 + KeyTypeFolderMeta byte = 9 // KeyTypeMiscData = some value - KeyTypeMiscData = 10 + KeyTypeMiscData byte = 10 // KeyTypeSequence = KeyTypeDevice key - KeyTypeSequence = 11 + KeyTypeSequence byte = 11 // KeyTypeNeed = - KeyTypeNeed = 12 + KeyTypeNeed byte = 12 // KeyTypeBlockList = BlockList - KeyTypeBlockList = 13 + KeyTypeBlockList byte = 13 // KeyTypeBlockListMap = - KeyTypeBlockListMap = 14 + KeyTypeBlockListMap byte = 14 // KeyTypeVersion = Vector - KeyTypeVersion = 15 + KeyTypeVersion byte = 15 ) type keyer interface {