Added shell.cpTree()
This commit is contained in:
		
							parent
							
								
									d123ea9b2f
								
							
						
					
					
						commit
						6f9903f331
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -179,6 +179,12 @@ def cp(src: str, dst: str): | |||
|     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] = {} | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue