1
0
mirror of https://github.com/seaweedfs/seaweedfs.git synced 2025-01-06 02:07:53 +08:00
seaweedfs/weed/command/filer_sync_windows.go

13 lines
168 B
Go

package command
import (
"strings"
)
func escapeKey(key string) string {
if strings.Contains(key, ":") {
return strings.ReplaceAll(key, ":", "")
}
return key
}