(src: str, dst: str, verbose: bool = False, dry_run: bool = False)
| 74 | |
| 75 | |
| 76 | def copy_file(src: str, dst: str, verbose: bool = False, dry_run: bool = False): |
| 77 | if verbose: |
| 78 | logging.info(f'Copying file "{src}" to "{dst}"') |
| 79 | if not dry_run: |
| 80 | shutil.copy2(src, dst) |
| 81 | |
| 82 | |
| 83 | def copy_tree(src: str, dst: str, verbose: bool = False, dry_run: bool = False): |
no test coverage detected