Add hash_class passthrough argument.
This commit is contained in:
parent
313070754f
commit
ea284c9199
1 changed files with 5 additions and 0 deletions
|
@ -97,6 +97,7 @@ def copy_dir(
|
|||
exclude_directories=None,
|
||||
exclude_filenames=None,
|
||||
files_per_second=None,
|
||||
hash_class=None,
|
||||
overwrite_old=True,
|
||||
precalcsize=False,
|
||||
skip_symlinks=True,
|
||||
|
@ -169,6 +170,9 @@ def copy_dir(
|
|||
Maximum number of files to be processed per second. Helps to keep CPU
|
||||
usage low.
|
||||
|
||||
hash_class:
|
||||
Passed into each `copy_file` as `hash_class`.
|
||||
|
||||
overwrite_old:
|
||||
Passed into each `copy_file` as `overwrite_old`.
|
||||
|
||||
|
@ -295,6 +299,7 @@ def copy_dir(
|
|||
callback_pre_copy=callback_pre_file,
|
||||
chunk_size=chunk_size,
|
||||
dry_run=dry_run,
|
||||
hash_class=hash_class,
|
||||
overwrite_old=overwrite_old,
|
||||
validate_hash=validate_hash,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue