aboutsummaryrefslogtreecommitdiff
path: root/weed/util/randomizer.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/util/randomizer.go')
-rw-r--r--weed/util/randomizer.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/weed/util/randomizer.go b/weed/util/randomizer.go
deleted file mode 100644
index e5ccd3fb3..000000000
--- a/weed/util/randomizer.go
+++ /dev/null
@@ -1,9 +0,0 @@
-package util
-
-import "hash/fnv"
-
-func HashBytesToInt64(x []byte) int64 {
- hash := fnv.New64()
- hash.Write(x)
- return int64(hash.Sum64())
-}