rclone-api 1.0.86__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.86 → rclone_api-1.0.87}/PKG-INFO +1 -1
- {rclone_api-1.0.86 → rclone_api-1.0.87}/pyproject.toml +1 -1
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/rclone.py +5 -1
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api.egg-info/PKG-INFO +1 -1
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.aiderignore +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.github/workflows/lint.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.github/workflows/push_macos.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.github/workflows/push_ubuntu.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.github/workflows/push_win.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.gitignore +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.pylintrc +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.vscode/launch.json +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.vscode/settings.json +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/.vscode/tasks.json +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/LICENSE +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/MANIFEST.in +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/README.md +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/clean +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/install +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/lint +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/requirements.testing.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/setup.cfg +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/setup.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/__init__.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/assets/example.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/cli.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/cmd/list_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/completed_process.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/config.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/convert.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/deprecated.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/diff.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/dir.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/dir_listing.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/exec.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/file.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/filelist.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/group_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/process.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/remote.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/rpath.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/scan_missing_folders.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/types.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/util.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api/walk.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api.egg-info/SOURCES.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api.egg-info/dependency_links.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api.egg-info/entry_points.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api.egg-info/requires.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/src/rclone_api.egg-info/top_level.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/test +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_cmd_list_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_copy.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_copy_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_diff.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_group_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_is_synced.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_ls.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_mount.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_mount_s3.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_mount_webdav.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_obscure.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_remote_control.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_remotes.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_scan_missing_folders.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_serve_webdav.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_size_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tests/test_walk.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/tox.ini +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.87}/upload_package.sh +0 -0
|
@@ -871,7 +871,7 @@ class Rclone:
|
|
|
871
871
|
self,
|
|
872
872
|
src: str,
|
|
873
873
|
files: list[str],
|
|
874
|
-
fast_list: bool =
|
|
874
|
+
fast_list: bool = False, # Recommend that this is False
|
|
875
875
|
other_args: list[str] | None = None,
|
|
876
876
|
check: bool | None = False,
|
|
877
877
|
verbose: bool | None = None,
|
|
@@ -879,6 +879,10 @@ class Rclone:
|
|
|
879
879
|
"""Get the size of a list of files. Example of files items: "remote:bucket/to/file"."""
|
|
880
880
|
verbose = get_verbose(verbose)
|
|
881
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
|
+
)
|
|
882
886
|
files = list(files)
|
|
883
887
|
all_files: list[File] = []
|
|
884
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
|