1
mirror of https://github.com/rclone/rclone synced 2024-11-21 22:50:16 +01:00
rclone/backend/box
Nick Craig-Wood bb88b8499b box: fix performance problem reading metadata for single files
Before this change the backend used to list the directory to find the
metadata for a single file. For lots of files in a directory this
caused a serious performance problem.

This change uses the preflight check to check for a files existence
and find its ID.

See: https://forum.rclone.org/t/psa-box-com-has-serious-performance-issues-in-directories-with-thousands-of-files/41128/10
See: https://forum.box.com/t/is-there-an-api-to-find-a-file-by-leaf-name-given-a-folder-id/997/
See: https://developer.box.com/guides/uploads/check/
2023-11-20 18:07:05 +00:00
..
api box: fix performance problem reading metadata for single files 2023-11-20 18:07:05 +00:00
box_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
box.go box: fix performance problem reading metadata for single files 2023-11-20 18:07:05 +00:00
upload.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00