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

Method stream_limits

atomic-cli/src/commands/git/import.rs:299–302  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

297 }
298
299 fn stream_limits(&self) -> CliResult<atomic_repository::GitStreamLimits> {
300 let mib = usize::from(self.stream_window_mib.unwrap_or(32));
301 atomic_repository::GitStreamLimits::new(100, mib * 1024 * 1024).map_err(CliError::from)
302 }
303
304 /// Import a single branch into an Atomic view using parallel processing.
305 #[allow(clippy::too_many_arguments)]

Callers 3

import_branchMethod · 0.80
run_span_incrementalMethod · 0.80
run_importMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected