1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-06 11:30:12 +02: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
}