diff options
Diffstat (limited to 'const.go')
-rw-r--r-- | const.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/const.go b/const.go new file mode 100644 index 0000000..700d3df --- /dev/null +++ b/const.go @@ -0,0 +1,11 @@ +package main + +// Defined as var to prevent from using them as const as I want to keep +// beeing able to change tkem at runtime. +var ( + chunkSize = 8 << 10 + chunksName = "chunks" + chunkIdFmt = "%015d" + versionFmt = "%05d" + filesName = "files" +) |