MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / ArchiveManifest

Class ArchiveManifest

atomic-repository/src/archive.rs:486–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484/// Manifest of files to be archived.
485#[derive(Debug, Clone, Default)]
486pub 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
500impl ArchiveManifest {
501 /// Create a new empty manifest.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected