Print summary of copied files.
(self, output_dir: Path, copied: list[str])
| 294 | print(f"⚠️ Warning: Could not create flash.bin: {e}") |
| 295 | |
| 296 | def _print_summary(self, output_dir: Path, copied: list[str]) -> None: |
| 297 | """Print summary of copied files.""" |
| 298 | print("\n📋 ESP32 QEMU artifacts summary:") |
| 299 | print(f" Output directory: {output_dir}") |
| 300 | print(f" Files copied: {len(copied)}") |
| 301 | for filename in sorted(copied): |
| 302 | file_path = ( |
| 303 | output_dir / filename.split(" ")[0] |
| 304 | ) # Handle " (default)" suffix |
| 305 | if file_path.exists(): |
| 306 | size = file_path.stat().st_size |
| 307 | print(f" ✅ {filename}: {size} bytes") |
| 308 | |
| 309 | |
| 310 | class ESP32ArtifactManager: |