Konstantin Lebedev
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/command/filer_sync.go
|
@ -410,7 +410,7 @@ func genProcessFunction(sourcePath string, targetPath string, excludePaths []str |
|
|
} |
|
|
} |
|
|
// handle deletions
|
|
|
// handle deletions
|
|
|
if filer_pb.IsDelete(resp) { |
|
|
if filer_pb.IsDelete(resp) { |
|
|
if doDeleteFiles { |
|
|
|
|
|
|
|
|
if !doDeleteFiles { |
|
|
return nil |
|
|
return nil |
|
|
} |
|
|
} |
|
|
if !strings.HasPrefix(string(sourceOldKey), sourcePath) { |
|
|
if !strings.HasPrefix(string(sourceOldKey), sourcePath) { |
|
|