(self, path: Path)
| 585 | shutil.copy(src, dest) |
| 586 | |
| 587 | def _ensure_directory(self, path: Path) -> None: |
| 588 | path = path.absolute() |
| 589 | if not path.exists(): |
| 590 | with util.status( |
| 591 | f"Creating directory {path}", **self.messaging_opts |
| 592 | ): |
| 593 | os.makedirs(path) |
| 594 | |
| 595 | def _generate_create_date(self) -> datetime.datetime: |
| 596 | if self.timezone is not None: |