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

Function test_clone_with_timeout

atomic-cli/src/commands/clone/command.rs:1322–1325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1320 /// Test with_timeout builder method.
1321 #[test]
1322 fn test_clone_with_timeout() {
1323 let clone = Clone::new("https://example.com/repo".to_string()).with_timeout(60);
1324 assert_eq!(clone.timeout, 60);
1325 }
1326
1327 /// Test with_download_only builder method.
1328 #[test]

Callers

nothing calls this directly

Calls 1

with_timeoutMethod · 0.45

Tested by

no test coverage detected