This commit is contained in:
Chris Lu 2019-10-23 22:25:59 -07:00
parent f937933b3d
commit 253dd20bc6

View file

@ -206,7 +206,7 @@ func getNameFromKey(key []byte) string {
}
// hash directory
func hashToBytes(dir string) ([]byte) {
func hashToBytes(dir string) []byte {
h := md5.New()
io.WriteString(h, dir)