mirror of
https://github.com/rclone/rclone
synced 2025-04-01 18:25:30 +02:00

This change removes redundant calls to the Proton Drive Bridge when creating Objects. Specifically, the function List() would get a directory listing, get a link for each file, construct a remote path from that link, then get a link for that remote path again by calling getObjectLink() unnecessarily. This change removes that unnecessary call, and tidies up a couple of functions around this with unused parameters. Related to performance issues reported in #7322 and #7413