rclone-api 1.1.3__py2.py3-none-any.whl → 1.1.4__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.
@@ -271,14 +271,10 @@ def _get_chunk_tmpdir() -> Path:
271
271
  def _get_file_size(file_path: Path, timeout: int = 60) -> int:
272
272
  sleep_time = timeout / 60 if timeout > 0 else 1
273
273
  start = time.time()
274
- not_windows = os.name != "nt"
275
274
  while True:
276
275
  expired = time.time() - start > timeout
277
276
  try:
278
277
  time.sleep(sleep_time)
279
- if not_windows:
280
- # Force a refresh of the directory cache
281
- os.system(f"ls -l {file_path.parent}")
282
278
  if file_path.exists():
283
279
  return file_path.stat().st_size
284
280
  except FileNotFoundError as e:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rclone_api
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: rclone api in python
5
5
  Home-page: https://github.com/zackees/rclone-api
6
6
  License: BSD 3-Clause License
@@ -26,12 +26,12 @@ rclone_api/experimental/flags.py,sha256=0-mtXg9J4MoMm2uBKbsMLj4pSGRLQUAqNRDJWGtt
26
26
  rclone_api/experimental/flags_base.py,sha256=ajU_czkTcAxXYU-SlmiCfHY7aCQGHvpCLqJ-Z8uZLk0,2102
27
27
  rclone_api/s3/api.py,sha256=VstlaEnBjO2JDQuCRLdTfUGvQLbfshlXXhAzimFv4Vc,3763
28
28
  rclone_api/s3/basic_ops.py,sha256=hK3366xhVEzEcjz9Gk_8lFx6MRceAk72cax6mUrr6ko,2104
29
- rclone_api/s3/chunk_uploader.py,sha256=sKV466i09yQ38aB5h-77Alk4nUFmUNxflcChch5QEOM,19910
29
+ rclone_api/s3/chunk_uploader.py,sha256=k7491vxvCX2KDz-nMQ45PDeHpaKPKmDtxl-URynLdeo,19736
30
30
  rclone_api/s3/create.py,sha256=SK3IGHZwsSkoG4Zb4NCphcVg9_f7VifDKng-tExMS2s,3088
31
31
  rclone_api/s3/types.py,sha256=81_3jwg6MGIxC-GxL-6zANzKO6au9C0BWvAqRyODxOM,1361
32
- rclone_api-1.1.3.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
33
- rclone_api-1.1.3.dist-info/METADATA,sha256=xKOlLkdCn0pGye8Iw1Q3-u2eU5Av101fj8lbSVrjH0s,4478
34
- rclone_api-1.1.3.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
35
- rclone_api-1.1.3.dist-info/entry_points.txt,sha256=6eNqTRXKhVf8CpWNjXiOa_0Du9tHiW_HD2iQSXRsUg8,132
36
- rclone_api-1.1.3.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
37
- rclone_api-1.1.3.dist-info/RECORD,,
32
+ rclone_api-1.1.4.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
33
+ rclone_api-1.1.4.dist-info/METADATA,sha256=DTOOicQKR2vGSu2zZCKLOwj8uR1u7jh8sst9VOevGQ0,4478
34
+ rclone_api-1.1.4.dist-info/WHEEL,sha256=rF4EZyR2XVS6irmOHQIJx2SUqXLZKRMUrjsg8UwN-XQ,109
35
+ rclone_api-1.1.4.dist-info/entry_points.txt,sha256=6eNqTRXKhVf8CpWNjXiOa_0Du9tHiW_HD2iQSXRsUg8,132
36
+ rclone_api-1.1.4.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
37
+ rclone_api-1.1.4.dist-info/RECORD,,