(path: Path)
| 75 | |
| 76 | |
| 77 | def archive(path: Path) -> tarfile.TarFile | ZipFile2: |
| 78 | if platform.system() == "Windows": |
| 79 | return ZipFile2(path.with_name(f"{path.name}.zip"), "w") |
| 80 | else: |
| 81 | return tarfile.open(path.with_name(f"{path.name}.tar.gz"), "w:gz") |
| 82 | |
| 83 | |
| 84 | def version() -> str: |
no test coverage detected
searching dependent graphs…