rclone-api 1.0.72__py2.py3-none-any.whl → 1.0.73__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rclone_api/scan_missing_folders.py +10 -2
- {rclone_api-1.0.72.dist-info → rclone_api-1.0.73.dist-info}/METADATA +1 -1
- {rclone_api-1.0.72.dist-info → rclone_api-1.0.73.dist-info}/RECORD +7 -7
- {rclone_api-1.0.72.dist-info → rclone_api-1.0.73.dist-info}/LICENSE +0 -0
- {rclone_api-1.0.72.dist-info → rclone_api-1.0.73.dist-info}/WHEEL +0 -0
- {rclone_api-1.0.72.dist-info → rclone_api-1.0.73.dist-info}/entry_points.txt +0 -0
- {rclone_api-1.0.72.dist-info → rclone_api-1.0.73.dist-info}/top_level.txt +0 -0
@@ -18,12 +18,20 @@ def _async_diff_dir_walk_task(
|
|
18
18
|
src: Dir, dst: Dir, max_depth: int, out_queue: Queue[Dir | None], order: Order
|
19
19
|
) -> None:
|
20
20
|
curr_src, curr_dst = src, dst
|
21
|
+
can_scan_two_deep = max_depth > 1 or max_depth == -1
|
22
|
+
ls_depth = 2 if can_scan_two_deep else 1
|
21
23
|
with ThreadPoolExecutor(max_workers=2) as executor:
|
22
24
|
t1 = executor.submit(
|
23
|
-
src.ls,
|
25
|
+
src.ls,
|
26
|
+
listing_option=ListingOption.DIRS_ONLY,
|
27
|
+
order=order,
|
28
|
+
max_depth=ls_depth,
|
24
29
|
)
|
25
30
|
t2 = executor.submit(
|
26
|
-
dst.ls,
|
31
|
+
dst.ls,
|
32
|
+
listing_option=ListingOption.DIRS_ONLY,
|
33
|
+
order=order,
|
34
|
+
max_depth=ls_depth,
|
27
35
|
)
|
28
36
|
src_dir_listing: DirListing = t1.result()
|
29
37
|
dst_dir_listing: DirListing = t2.result()
|
@@ -15,15 +15,15 @@ rclone_api/process.py,sha256=RrMfTe0bndmJ6gBK67ioqNvCstJ8aTC8RlGX1XBLlcw,4191
|
|
15
15
|
rclone_api/rclone.py,sha256=kIamoje3fUaWboMdF_d_a4WVaSa8BfK6zDFY8U6pNbs,28820
|
16
16
|
rclone_api/remote.py,sha256=c9hlRKBCg1BFB9MCINaQIoCg10qyAkeqiS4brl8ce-8,343
|
17
17
|
rclone_api/rpath.py,sha256=8ZA_1wxWtskwcy0I8V2VbjKDmzPkiWd8Q2JQSvh-sYE,2586
|
18
|
-
rclone_api/scan_missing_folders.py,sha256=
|
18
|
+
rclone_api/scan_missing_folders.py,sha256=eySQNFwsHxdhN6AAB4K94iH9rJDWUHQIJbddlZKvdFQ,4441
|
19
19
|
rclone_api/types.py,sha256=DcbNw1R6j2f_1zHrhqEJcpCR-8kJfFJawMY0AmPsCnM,321
|
20
20
|
rclone_api/util.py,sha256=_cvmHcJPRl2yXw4zgZiop3z-riA_8Ek6S5NDPw8cqSY,4198
|
21
21
|
rclone_api/walk.py,sha256=-54NVE8EJcCstwDoaC_UtHm73R2HrZwVwQmsnv55xNU,3369
|
22
22
|
rclone_api/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
|
23
23
|
rclone_api/cmd/list_files.py,sha256=x8FHODEilwKqwdiU1jdkeJbLwOqUkUQuDWPo2u_zpf0,741
|
24
|
-
rclone_api-1.0.
|
25
|
-
rclone_api-1.0.
|
26
|
-
rclone_api-1.0.
|
27
|
-
rclone_api-1.0.
|
28
|
-
rclone_api-1.0.
|
29
|
-
rclone_api-1.0.
|
24
|
+
rclone_api-1.0.73.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
25
|
+
rclone_api-1.0.73.dist-info/METADATA,sha256=le9xg4WsNvEKk5SO_RVrqJ9kfIiMS7ASt6bhAJ68GpE,4489
|
26
|
+
rclone_api-1.0.73.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
|
27
|
+
rclone_api-1.0.73.dist-info/entry_points.txt,sha256=XUoTX3m7CWxdj2VAKhEuO0NMOfX2qf-OcEDFwdyk9ZE,72
|
28
|
+
rclone_api-1.0.73.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
|
29
|
+
rclone_api-1.0.73.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|