seaweedfs/weed/command/filer_sync_windows.go

13 lines
168 B
Go
Raw Normal View History

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