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

Source from the content-addressed store, hash-verified

1222 /// Test get_local_view with an explicit --to-view.
1223 #[test]
1224 fn test_get_local_view_explicit() {
1225 let pull = Pull::new().with_to_view("staging");
1226 assert_eq!(pull.get_local_view("orange"), "staging");
1227 }
1228
1229 /// Test get_local_view defaults to the remote view being pulled.
1230 #[test]

Callers

nothing calls this directly

Calls 1

with_to_viewMethod · 0.45

Tested by

no test coverage detected