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

Function test_get_local_view_explicit

atomic-cli/src/commands/pull/command.rs:1043–1046  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1041 /// Test get_local_view with an explicit --to-view.
1042 #[test]
1043 fn test_get_local_view_explicit() {
1044 let pull = Pull::new().with_to_view("staging");
1045 assert_eq!(pull.get_local_view("orange"), "staging");
1046 }
1047
1048 /// Test get_local_view defaults to the remote view being pulled.
1049 #[test]

Callers

nothing calls this directly

Calls 1

with_to_viewMethod · 0.45

Tested by

no test coverage detected