filer_sync_windows.go 168 B

123456789101112
  1. package command
  2. import (
  3. "strings"
  4. )
  5. func escapeKey(key string) string {
  6. if strings.Contains(key, ":") {
  7. return strings.ReplaceAll(key, ":", "")
  8. }
  9. return key
  10. }