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.
@@ -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, listing_option=ListingOption.DIRS_ONLY, order=order
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, listing_option=ListingOption.DIRS_ONLY, order=order
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()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rclone_api
3
- Version: 1.0.72
3
+ Version: 1.0.73
4
4
  Summary: rclone api in python
5
5
  Home-page: https://github.com/zackees/rclone-api
6
6
  Maintainer: Zachary Vorhies
@@ -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=ke2AVIdX-MiuJUi7poJBzP8GxjzzMhCsr1Mxbg0EIu4,4217
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.72.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
25
- rclone_api-1.0.72.dist-info/METADATA,sha256=xzlW0jfYuqOPGSCI9k8MxNvp4BpI0Duojacxq_l-C-M,4489
26
- rclone_api-1.0.72.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
27
- rclone_api-1.0.72.dist-info/entry_points.txt,sha256=XUoTX3m7CWxdj2VAKhEuO0NMOfX2qf-OcEDFwdyk9ZE,72
28
- rclone_api-1.0.72.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
29
- rclone_api-1.0.72.dist-info/RECORD,,
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,,