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

Source from the content-addressed store, hash-verified

776 /// Test with_timeout builder method.
777 #[test]
778 fn test_clone_with_timeout() {
779 let clone = Clone::new("https://example.com/repo".to_string()).with_timeout(60);
780 assert_eq!(clone.timeout, 60);
781 }
782
783 /// Test with_download_only builder method.
784 #[test]

Callers

nothing calls this directly

Calls 1

with_timeoutMethod · 0.45

Tested by

no test coverage detected