rclone-api 1.1.3__tar.gz → 1.1.4__tar.gz
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-1.1.3 → rclone_api-1.1.4}/PKG-INFO +1 -1
- {rclone_api-1.1.3 → rclone_api-1.1.4}/pyproject.toml +1 -1
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/s3/chunk_uploader.py +0 -4
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api.egg-info/PKG-INFO +1 -1
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.aiderignore +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.github/workflows/lint.yml +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.github/workflows/push_macos.yml +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.github/workflows/push_ubuntu.yml +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.github/workflows/push_win.yml +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.gitignore +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.pylintrc +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.vscode/launch.json +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.vscode/settings.json +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/.vscode/tasks.json +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/LICENSE +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/MANIFEST.in +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/README.md +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/clean +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/install +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/lint +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/requirements.testing.txt +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/setup.cfg +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/setup.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/__init__.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/assets/example.txt +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/cli.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/cmd/copy_large_s3.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/cmd/list_files.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/completed_process.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/config.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/convert.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/deprecated.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/diff.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/dir.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/dir_listing.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/exec.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/experimental/flags.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/experimental/flags_base.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/file.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/filelist.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/group_files.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/process.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/rclone.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/remote.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/rpath.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/s3/api.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/s3/basic_ops.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/s3/create.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/s3/types.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/scan_missing_folders.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/types.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/util.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api/walk.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api.egg-info/SOURCES.txt +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api.egg-info/dependency_links.txt +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api.egg-info/entry_points.txt +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api.egg-info/requires.txt +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/src/rclone_api.egg-info/top_level.txt +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/test +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/archive/test_paramiko.py.disabled +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_cmd_list_files.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_copy.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_copy_files.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_diff.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_group_files.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_is_synced.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_ls.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_mount.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_mount_s3.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_mount_webdav.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_mounted_ranged_download.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_obscure.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_rclone_config.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_remote_control.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_remotes.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_s3.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_scan_missing_folders.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_size_files.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tests/test_walk.py +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/tox.ini +0 -0
- {rclone_api-1.1.3 → rclone_api-1.1.4}/upload_package.sh +0 -0
|
@@ -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:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|