aboutsummaryrefslogtreecommitdiff
path: root/const.go
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-14 16:43:29 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-14 17:01:07 +0200
commit4ca1c3bbb76834c69b0d8e63c921ca3548f529ac (patch)
treee9414a1c47ab0c379b382bba99b64e350a44aa7d /const.go
parent1b29f7dafc233ed893d8f35e5edbb0c2e357d55d (diff)
downloaddna-backup-4ca1c3bbb76834c69b0d8e63c921ca3548f529ac.tar.gz
dna-backup-4ca1c3bbb76834c69b0d8e63c921ca3548f529ac.zip
add load/store sketches+fingerprints & store them
Fix corresponding Commit tests by adding sketches and fingerprints files in repo_8k and repo_8k_zlib. Also enhance CommitTests by checking recipe files
Diffstat (limited to 'const.go')
-rw-r--r--const.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/const.go b/const.go
index 2c58dd6..d5ec7f0 100644
--- a/const.go
+++ b/const.go
@@ -1,9 +1,11 @@
package main
const (
- chunksName = "chunks"
- chunkIdFmt = "%015d"
- versionFmt = "%05d"
- filesName = "files"
- recipeName = "recipe"
+ chunksName = "chunks"
+ chunkIdFmt = "%015d"
+ versionFmt = "%05d"
+ filesName = "files"
+ fingerprintsName = "fingerprints"
+ recipeName = "recipe"
+ sketchesName = "sketches"
)