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

Method switch_view

atomic-repository/src/repository/tests/mod.rs:255–257  ·  view source on GitHub ↗
(&mut self, view: &str)

Source from the content-addressed store, hash-verified

253 }
254
255 pub fn switch_view(&mut self, view: &str) -> Result<MaterializeResult, RepositoryError> {
256 self.repo.switch_view(self.working_copy, view)
257 }
258
259 pub fn set_current_view(&mut self, view: &str) -> Result<(), RepositoryError> {
260 self.repo.set_current_view(self.working_copy, view)

Calls

no outgoing calls

Tested by

no test coverage detected