Added shell.cpTree()

This commit is contained in:
Sleepy Monax 2023-04-09 19:59:35 +02:00
parent 0534c2304a
commit 175f4e0c3f

View file

@ -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] = {}