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

Source from the content-addressed store, hash-verified

986 /// Test with_timeout builder method.
987 #[test]
988 fn test_clone_with_timeout() {
989 let clone = Clone::new("https://example.com/repo".to_string()).with_timeout(60);
990 assert_eq!(clone.timeout, 60);
991 }
992
993 /// Test with_download_only builder method.
994 #[test]

Callers

nothing calls this directly

Calls 1

with_timeoutMethod · 0.45

Tested by

no test coverage detected