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
..
2022-08-28 13:43:51 +02:00
2023-04-04 16:33:48 +01:00
2022-08-05 16:35:41 +01:00
2023-06-23 18:01:11 +01:00
2023-03-01 11:10:38 +00:00
2023-03-26 19:20:50 +02:00
2023-03-26 14:28:15 +02:00
2022-11-10 12:04:35 +00:00
2023-06-26 14:34:52 +01:00
2023-06-14 10:52:03 +01:00
2023-06-26 14:34:52 +01:00
2023-06-13 17:58:27 +01:00
2023-06-10 14:57:26 +01:00
2023-04-18 17:35:21 +01:00
2022-11-07 11:41:47 +00:00
2023-05-09 17:27:35 +01:00
2023-06-23 18:01:11 +01:00
2022-11-21 08:02:09 +00:00
2023-06-14 10:52:03 +01:00
2023-03-25 09:31:36 +01:00
2023-03-26 14:28:15 +02:00
2023-05-04 15:03:11 +01:00
2022-08-30 11:16:26 +02:00
2023-03-24 11:34:14 +00:00
2023-05-04 15:03:11 +01:00
2023-05-17 17:03:26 +01:00
2022-11-10 11:27:01 +00:00
2023-03-24 20:42:45 +00:00
2022-11-07 11:41:47 +00:00
2023-03-26 14:28:15 +02:00
2023-06-13 17:58:27 +01:00
2022-08-28 13:43:51 +02:00
2023-03-26 14:28:15 +02:00
2022-08-30 11:16:26 +02:00
2023-05-13 03:41:59 +09:00
2022-08-05 16:35:41 +01:00
2023-06-28 16:45:35 +01:00
2022-08-28 13:43:51 +02:00
2023-06-26 17:47:27 +01:00
2023-03-26 14:28:15 +02:00
2023-05-11 07:58:20 +01:00
2023-06-27 17:08:37 +01:00
2022-08-28 13:43:51 +02:00
2023-03-26 14:28:15 +02:00
2023-06-27 16:02:33 +01:00
2022-11-07 11:41:47 +00:00
2023-06-26 20:23:28 +01:00
2023-06-27 17:31:01 +01:00
2023-06-28 17:27:43 +01:00
2023-06-26 20:23:28 +01:00
2023-06-11 11:11:43 +01:00
2023-06-14 17:43:26 +01:00