Added shell.cpTree()
This commit is contained in:
parent
0534c2304a
commit
175f4e0c3f
|
@ -179,6 +179,12 @@ def cp(src: str, dst: str):
|
||||||
shutil.copy(src, dst)
|
shutil.copy(src, dst)
|
||||||
|
|
||||||
|
|
||||||
|
def cpTree(src: str, dst: str):
|
||||||
|
logger.log(f"Copying {src} to {dst}")
|
||||||
|
|
||||||
|
shutil.copytree(src, dst, dirs_exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
LATEST_CACHE: dict[str, str] = {}
|
LATEST_CACHE: dict[str, str] = {}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue