aboutsummaryrefslogtreecommitdiff
path: root/hash/hash.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-12-09 16:19:11 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-12-09 16:19:11 +0100
commitb6478c3dd683c830963bcf08043e28afc6aea8d5 (patch)
tree7131a8643eea3601c44ac7e26d440c7a82eb2efb /hash/hash.go
parent76ecd36bd21abae6059a31ad34eeea850240452d (diff)
...
Diffstat (limited to 'hash/hash.go')
-rw-r--r--hash/hash.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/hash/hash.go b/hash/hash.go
index f84edeb..c159e78 100644
--- a/hash/hash.go
+++ b/hash/hash.go
@@ -76,3 +76,8 @@ type HashHdr struct {
Spares [nCached]int32 // spare pages for overflow
Bitmaps [nCached]uint16 // address of overflow page bitmaps
}
+
+const (
+ hashMagic = 0x061561
+ hashVersion = 2
+)