mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 11:35:21 +08:00
sugarsync: fix NewObject for files that differ in case #4830
This commit is contained in:
parent
4acd68188b
commit
50cf97fc72
|
@ -264,7 +264,7 @@ func (f *Fs) readMetaDataForPath(ctx context.Context, path string) (info *api.Fi
|
|||
}
|
||||
|
||||
found, err := f.listAll(ctx, directoryID, func(item *api.File) bool {
|
||||
if item.Name == leaf {
|
||||
if strings.EqualFold(item.Name, leaf) {
|
||||
info = item
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user