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

Method set_current_view

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

Source from the content-addressed store, hash-verified

257 }
258
259 pub fn set_current_view(&mut self, view: &str) -> Result<(), RepositoryError> {
260 self.repo.set_current_view(self.working_copy, view)
261 }
262
263 pub fn align_to_view(&mut self, view: &str) -> Result<(), RepositoryError> {
264 self.repo.align_to_view(self.working_copy, view)

Calls

no outgoing calls

Tested by

no test coverage detected