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

Source from the content-addressed store, hash-verified

794 /// Test with_timeout builder method.
795 #[test]
796 fn test_clone_with_timeout() {
797 let clone = Clone::new("https://example.com/repo".to_string()).with_timeout(60);
798 assert_eq!(clone.timeout, 60);
799 }
800
801 /// Test with_download_only builder method.
802 #[test]

Callers

nothing calls this directly

Calls 1

with_timeoutMethod · 0.45

Tested by

no test coverage detected