1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-08 18:16:50 +02:00
This commit is contained in:
Chris Lu 2019-10-23 22:25:59 -07:00
parent f937933b3d
commit 253dd20bc6

View file

@ -20,7 +20,7 @@ func init() {
} }
type TikvStore struct { type TikvStore struct {
store kv.Storage store kv.Storage
} }
func (store *TikvStore) GetName() string { func (store *TikvStore) GetName() string {
@ -206,7 +206,7 @@ func getNameFromKey(key []byte) string {
} }
// hash directory // hash directory
func hashToBytes(dir string) ([]byte) { func hashToBytes(dir string) []byte {
h := md5.New() h := md5.New()
io.WriteString(h, dir) io.WriteString(h, dir)