| 484 | /// Manifest of files to be archived. |
| 485 | #[derive(Debug, Clone, Default)] |
| 486 | pub struct ArchiveManifest { |
| 487 | /// All entries in the manifest. |
| 488 | pub entries: Vec<ArchiveEntry>, |
| 489 | |
| 490 | /// Total size of all files. |
| 491 | pub total_size: u64, |
| 492 | |
| 493 | /// Number of files (not directories). |
| 494 | pub file_count: usize, |
| 495 | |
| 496 | /// Number of directories. |
| 497 | pub directory_count: usize, |
| 498 | } |
| 499 | |
| 500 | impl ArchiveManifest { |
| 501 | /// Create a new empty manifest. |
nothing calls this directly
no outgoing calls
no test coverage detected