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

Method compression_level

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

Set compression level.

(mut self, level: u32)

Source from the content-addressed store, hash-verified

359
360 /// Set compression level.
361 pub fn compression_level(mut self, level: u32) -> Self {
362 self.compression_level = level.min(9);
363 self
364 }
365
366 /// Create options for a specific format.
367 pub fn with_format(format: ArchiveFormat) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1