(msg: str)
| 44 | """ |
| 45 | |
| 46 | def _log(msg: str) -> None: |
| 47 | try: |
| 48 | if logger: |
| 49 | logger(msg) |
| 50 | else: |
| 51 | print(msg) |
| 52 | except Exception: |
| 53 | print(msg) # Fallback if logger fails (e.g. log file path missing) |
| 54 | |
| 55 | source_dir = Path(source_dir) |
| 56 | target_dir = Path(target_dir) |
no outgoing calls
no test coverage detected