1
mirror of https://github.com/rclone/rclone synced 2024-11-23 00:06:55 +01:00
rclone/backend/uptobox
Nick Craig-Wood 3b6effa81a uptobox: fix rmdir declaring that directories weren't empty
The API seems to have changed and the `totalFileCount` item no longer
tracks the number of files in the directory so is useless for seeing
if the directory is empty.

This patch fixes the problem by seeing whether there are any files or
directories in the folder instead.

This problem was detected by the integration tests.
2023-06-28 17:27:43 +01:00
..
api all: fix spelling across the project 2022-08-30 11:16:26 +02:00
uptobox_test.go new backend: uptobox 2021-04-13 17:46:07 +02:00
uptobox.go uptobox: fix rmdir declaring that directories weren't empty 2023-06-28 17:27:43 +01:00