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:1349–1352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1347 /// Test with_timeout builder method.
1348 #[test]
1349 fn test_clone_with_timeout() {
1350 let clone = Clone::new("https://example.com/repo".to_string()).with_timeout(60);
1351 assert_eq!(clone.timeout, 60);
1352 }
1353
1354 /// Test with_download_only builder method.
1355 #[test]

Callers

nothing calls this directly

Calls 1

with_timeoutMethod · 0.45

Tested by

no test coverage detected