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

Method write_current_view

atomic-repository/src/repository/mod.rs:1409–1411  ·  view source on GitHub ↗

Write the current view as a derived compatibility artifact.

(&self, view: &str)

Source from the content-addressed store, hash-verified

1407
1408 /// Write the current view as a derived compatibility artifact.
1409 fn write_current_view(&self, view: &str) -> Result<(), RepositoryError> {
1410 working_copy::write_current_view_compatibility(&self.working_copy_dot_dir(), view)
1411 }
1412
1413 /// Make prior atomic renames/removals in `.atomic` durable before a
1414 /// coupled database transition is allowed to advance. Directory fsync is

Calls 2

working_copy_dot_dirMethod · 0.80

Tested by

no test coverage detected