(gz_path: str)
| 233 | counter = {"n": 0} |
| 234 | |
| 235 | def on_start(gz_path: str) -> None: |
| 236 | counter["n"] += 1 |
| 237 | short_path = config.source_from_path(gz_path) |
| 238 | logger.info( |
| 239 | "[%d/%d] [%s] extracting (%s)...", counter["n"], total, short_path, mode |
| 240 | ) |
| 241 | |
| 242 | def on_result(gz_path: str, entry: ExtractionResult) -> None: |
| 243 | short_path = config.source_from_path(gz_path) |