henrybear327 / Proton-API-Bridge

A third-party, open-source Proton API bridge (mainly focusing on Drive for now)
MIT License
82 stars 5 forks source link

Save an API request by using XAttr in the Link object #28

Closed lawmurray closed 3 days ago

lawmurray commented 2 months ago

This depends on henrybear327/go-proton-api#4.

Now that XAttr is in the Link object, there is no need to make an additional API request for it in GetActiveRevisionAttrs(). This can offer some big performance improvements to downstream use cases (ref rclone/rclone#8058).

lawmurray commented 2 months ago

In ref to https://github.com/henrybear327/go-proton-api/pull/4, likewise, rclone's go test -v tests work as before with this change.