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

Method total_compressed

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

Total compressed size across all chunks (bytes on the wire).

(&self)

Source from the content-addressed store, hash-verified

289
290 /// Total compressed size across all chunks (bytes on the wire).
291 pub fn total_compressed(&self) -> u64 {
292 self.entries.iter().map(|e| e.compressed_size as u64).sum()
293 }
294
295 /// Total uncompressed size across all chunks (original data size).
296 pub fn total_uncompressed(&self) -> u64 {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected