diff options
Diffstat (limited to 'weed/command/filer_sync_windows.go')
| -rw-r--r-- | weed/command/filer_sync_windows.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/weed/command/filer_sync_windows.go b/weed/command/filer_sync_windows.go new file mode 100644 index 000000000..3d0c9146e --- /dev/null +++ b/weed/command/filer_sync_windows.go @@ -0,0 +1,12 @@ +package command + +import ( + "strings" +) + +func escapeKey(key string) string { + if strings.Contains(key, ":") { + return strings.ReplaceAll(key, ":", "") + } + return key +} |
