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

Function test_clone_with_path

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

Source from the content-addressed store, hash-verified

1186 /// Test with_path builder method.
1187 #[test]
1188 fn test_clone_with_path() {
1189 let clone = Clone::new("https://example.com/repo".to_string()).with_path("my-project");
1190 assert_eq!(clone.path, Some("my-project".to_string()));
1191 }
1192
1193 /// Test with_view builder method.
1194 #[test]

Callers

nothing calls this directly

Calls 1

with_pathMethod · 0.45

Tested by

no test coverage detected