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

Method create_view

atomic-repository/src/repository/views.rs:85–87  ·  view source on GitHub ↗

Create a new view. # Arguments `name` - The name of the view to create # Errors Returns an error if: - The view already exists - The database operation fails

(&mut self, name: &str)

Source from the content-addressed store, hash-verified

83 /// - The view already exists
84 /// - The database operation fails
85 pub fn create_view(&mut self, name: &str) -> Result<(), RepositoryError> {
86 self.create_overlay_view(name, None, None)
87 }
88
89 /// Create one view — the ONLY creation concept atomic has.
90 ///

Calls 1

create_overlay_viewMethod · 0.80