rclone-api 1.0.86__tar.gz → 1.0.88__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.88}/PKG-INFO +1 -1
- {rclone_api-1.0.86 → rclone_api-1.0.88}/pyproject.toml +1 -1
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/rclone.py +7 -1
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api.egg-info/PKG-INFO +1 -1
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.aiderignore +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.github/workflows/lint.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.github/workflows/push_macos.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.github/workflows/push_ubuntu.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.github/workflows/push_win.yml +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.gitignore +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.pylintrc +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.vscode/launch.json +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.vscode/settings.json +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/.vscode/tasks.json +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/LICENSE +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/MANIFEST.in +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/README.md +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/clean +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/install +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/lint +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/requirements.testing.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/setup.cfg +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/setup.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/__init__.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/assets/example.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/cli.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/cmd/list_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/completed_process.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/config.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/convert.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/deprecated.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/diff.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/dir.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/dir_listing.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/exec.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/file.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/filelist.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/group_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/process.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/remote.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/rpath.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/scan_missing_folders.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/types.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/util.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api/walk.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api.egg-info/SOURCES.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api.egg-info/dependency_links.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api.egg-info/entry_points.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api.egg-info/requires.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/src/rclone_api.egg-info/top_level.txt +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/test +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_cmd_list_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_copy.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_copy_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_diff.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_group_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_is_synced.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_ls.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_mount.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_mount_s3.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_mount_webdav.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_obscure.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_remote_control.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_remotes.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_scan_missing_folders.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_serve_webdav.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_size_files.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tests/test_walk.py +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/tox.ini +0 -0
- {rclone_api-1.0.86 → rclone_api-1.0.88}/upload_package.sh +0 -0
|
@@ -331,6 +331,7 @@ class Rclone:
|
|
|
331
331
|
src: File | str,
|
|
332
332
|
dst: File | str,
|
|
333
333
|
check: bool | None = None,
|
|
334
|
+
verbose: bool | None = None,
|
|
334
335
|
other_args: list[str] | None = None,
|
|
335
336
|
) -> None:
|
|
336
337
|
"""Copy multiple files from source to destination.
|
|
@@ -341,6 +342,7 @@ class Rclone:
|
|
|
341
342
|
payload: Dictionary of source and destination file paths
|
|
342
343
|
"""
|
|
343
344
|
check = get_check(check)
|
|
345
|
+
verbose = get_verbose(verbose)
|
|
344
346
|
src = src if isinstance(src, str) else str(src.path)
|
|
345
347
|
dst = dst if isinstance(dst, str) else str(dst.path)
|
|
346
348
|
cmd_list: list[str] = ["copyto", src, dst]
|
|
@@ -871,7 +873,7 @@ class Rclone:
|
|
|
871
873
|
self,
|
|
872
874
|
src: str,
|
|
873
875
|
files: list[str],
|
|
874
|
-
fast_list: bool =
|
|
876
|
+
fast_list: bool = False, # Recommend that this is False
|
|
875
877
|
other_args: list[str] | None = None,
|
|
876
878
|
check: bool | None = False,
|
|
877
879
|
verbose: bool | None = None,
|
|
@@ -879,6 +881,10 @@ class Rclone:
|
|
|
879
881
|
"""Get the size of a list of files. Example of files items: "remote:bucket/to/file"."""
|
|
880
882
|
verbose = get_verbose(verbose)
|
|
881
883
|
check = get_check(check)
|
|
884
|
+
if fast_list or (other_args and "--fast-list" in other_args):
|
|
885
|
+
warnings.warn(
|
|
886
|
+
"It's not recommended to use --fast-list with size_files as the entire repository has to be listed"
|
|
887
|
+
)
|
|
882
888
|
files = list(files)
|
|
883
889
|
all_files: list[File] = []
|
|
884
890
|
# 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
|