mirror of
				https://github.com/rclone/rclone.git
				synced 2025-10-30 23:17:59 +02:00 
			
		
		
		
	drive: fix using list recursive on shortcuts to directories
This commit is contained in:
		| @@ -1914,8 +1914,9 @@ func (f *Fs) resolveShortcut(item *drive.File) (newItem *drive.File, err error) | ||||
| 	if err != nil { | ||||
| 		return nil, errors.Wrap(err, "failed to resolve shortcut") | ||||
| 	} | ||||
| 	// make sure we use the Name from the original item | ||||
| 	// make sure we use the Name and Parents from the original item | ||||
| 	newItem.Name = item.Name | ||||
| 	newItem.Parents = item.Parents | ||||
| 	// the new ID is a composite ID | ||||
| 	newItem.Id = joinID(newItem.Id, item.Id) | ||||
| 	return newItem, nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user