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

Method with_timeout

atomic-cli/src/commands/pull/command.rs:231–234  ·  view source on GitHub ↗

Builder: set the timeout in seconds.

(mut self, timeout: u64)

Source from the content-addressed store, hash-verified

229
230 /// Builder: set the timeout in seconds.
231 pub fn with_timeout(mut self, timeout: u64) -> Self {
232 self.timeout = timeout;
233 self
234 }
235
236 /// Builder: set the download-only flag.
237 pub fn with_download_only(mut self, download_only: bool) -> Self {

Callers 4

build_remote_configMethod · 0.45
test_pull_with_timeoutFunction · 0.45
test_pull_builder_chainFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_pull_with_timeoutFunction · 0.36
test_pull_builder_chainFunction · 0.36