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

Function test_clone_with_view

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

Source from the content-addressed store, hash-verified

1193 /// Test with_view builder method.
1194 #[test]
1195 fn test_clone_with_view() {
1196 let clone = Clone::new("https://example.com/repo".to_string()).with_view("dev");
1197 assert_eq!(clone.view, "dev");
1198 }
1199
1200 /// Test with_insecure builder method.
1201 #[test]

Callers

nothing calls this directly

Calls 1

with_viewMethod · 0.45

Tested by

no test coverage detected