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

Method total_uncompressed

atomic-remote/src/streaming/layers.rs:296–301  ·  view source on GitHub ↗

Total uncompressed size across all chunks (original data size).

(&self)

Source from the content-addressed store, hash-verified

294
295 /// Total uncompressed size across all chunks (original data size).
296 pub fn total_uncompressed(&self) -> u64 {
297 self.entries
298 .iter()
299 .map(|e| e.uncompressed_size as u64)
300 .sum()
301 }
302
303 /// Returns a set of all chunk hashes in this manifest.
304 ///

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected