rclone-api 1.0.85__tar.gz → 1.0.87__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.0.85 → rclone_api-1.0.87}/PKG-INFO +1 -1
- {rclone_api-1.0.85 → rclone_api-1.0.87}/pyproject.toml +1 -1
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/rclone.py +11 -1
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api.egg-info/PKG-INFO +1 -1
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.aiderignore +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.github/workflows/lint.yml +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.github/workflows/push_macos.yml +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.github/workflows/push_ubuntu.yml +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.github/workflows/push_win.yml +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.gitignore +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.pylintrc +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.vscode/launch.json +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.vscode/settings.json +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/.vscode/tasks.json +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/LICENSE +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/MANIFEST.in +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/README.md +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/clean +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/install +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/lint +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/requirements.testing.txt +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/setup.cfg +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/setup.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/__init__.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/assets/example.txt +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/cli.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/cmd/list_files.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/completed_process.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/config.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/convert.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/deprecated.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/diff.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/dir.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/dir_listing.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/exec.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/file.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/filelist.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/group_files.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/process.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/remote.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/rpath.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/scan_missing_folders.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/types.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/util.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api/walk.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api.egg-info/SOURCES.txt +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api.egg-info/dependency_links.txt +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api.egg-info/entry_points.txt +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api.egg-info/requires.txt +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/src/rclone_api.egg-info/top_level.txt +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/test +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_cmd_list_files.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_copy.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_copy_files.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_diff.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_group_files.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_is_synced.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_ls.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_mount.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_mount_s3.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_mount_webdav.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_obscure.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_remote_control.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_remotes.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_scan_missing_folders.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_serve_webdav.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_size_files.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tests/test_walk.py +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/tox.ini +0 -0
- {rclone_api-1.0.85 → rclone_api-1.0.87}/upload_package.sh +0 -0
|
@@ -394,6 +394,12 @@ class Rclone:
|
|
|
394
394
|
f"Invalid file path, contains a remote, which is not allowed for copy_files: {p}"
|
|
395
395
|
)
|
|
396
396
|
|
|
397
|
+
using_fast_list = "--fast-list" in other_args
|
|
398
|
+
if using_fast_list:
|
|
399
|
+
warnings.warn(
|
|
400
|
+
"It's not recommended to use --fast-list with copy_files as the entire repository has to be listed"
|
|
401
|
+
)
|
|
402
|
+
|
|
397
403
|
if max_partition_workers > 1:
|
|
398
404
|
datalists: dict[str, list[str]] = group_files(
|
|
399
405
|
payload, fully_qualified=False
|
|
@@ -865,7 +871,7 @@ class Rclone:
|
|
|
865
871
|
self,
|
|
866
872
|
src: str,
|
|
867
873
|
files: list[str],
|
|
868
|
-
fast_list: bool =
|
|
874
|
+
fast_list: bool = False, # Recommend that this is False
|
|
869
875
|
other_args: list[str] | None = None,
|
|
870
876
|
check: bool | None = False,
|
|
871
877
|
verbose: bool | None = None,
|
|
@@ -873,6 +879,10 @@ class Rclone:
|
|
|
873
879
|
"""Get the size of a list of files. Example of files items: "remote:bucket/to/file"."""
|
|
874
880
|
verbose = get_verbose(verbose)
|
|
875
881
|
check = get_check(check)
|
|
882
|
+
if fast_list or (other_args and "--fast-list" in other_args):
|
|
883
|
+
warnings.warn(
|
|
884
|
+
"It's not recommended to use --fast-list with size_files as the entire repository has to be listed"
|
|
885
|
+
)
|
|
876
886
|
files = list(files)
|
|
877
887
|
all_files: list[File] = []
|
|
878
888
|
# prefix, files = group_under_one_prefix(src, files)
|
|
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
|