mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 02:14:42 +01: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