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

Method default

atomic-core/src/change/format_v3/chunking.rs:169–175  ·  view source on GitHub ↗

Default options: 16 KB min, 64 KB avg, 256 KB max. These values match the proposal's recommendations for a good balance of dedup effectiveness vs per-chunk overhead.

()

Source from the content-addressed store, hash-verified

167 /// These values match the proposal's recommendations for a good balance
168 /// of dedup effectiveness vs per-chunk overhead.
169 fn default() -> Self {
170 Self {
171 min_size: 16 * 1024,
172 avg_size: 64 * 1024,
173 max_size: 256 * 1024,
174 }
175 }
176}
177
178impl fmt::Display for ChunkingOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected