aboutsummaryrefslogtreecommitdiff
path: root/weed/util/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/util/constants.go')
-rw-r--r--weed/util/constants.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/weed/util/constants.go b/weed/util/constants.go
index ced86b536..7c3927a66 100644
--- a/weed/util/constants.go
+++ b/weed/util/constants.go
@@ -6,4 +6,9 @@ import (
var (
VERSION = fmt.Sprintf("%s %d.%d", sizeLimit, 1, 79)
+ COMMIT = ""
)
+
+func Version() string {
+ return VERSION + " " + COMMIT
+} \ No newline at end of file