zcollection.fs_utils.copy_tree#
- zcollection.fs_utils.copy_tree(source, target, fs_source, fs_target)[source]#
Copy a directory tree from one location to another.
- Parameters:
source (str) – The name of the source directory.
target (str) – The name of the target directory.
fs_source (AbstractFileSystem) – The file system that the source directory is stored on.
fs_target (AbstractFileSystem) – The file system that the target directory is stored on.
- Raises:
ValueError – If the target already exists.
- Return type:
None