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

Method list_views

atomic-core/src/pristine/txn/write/view.rs:45–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

43 }
44
45 fn list_views(&self) -> PristineResult<Vec<String>> {
46 Ok(self
47 .snapshot_views()?
48 .into_iter()
49 .map(|(name, _)| name)
50 .collect())
51 }
52
53 fn get_conflicts(&self, view_id: u64, inode: u64) -> PristineResult<Vec<StoredConflict>> {
54 let table = self.txn.open_table(CONFLICTS)?;

Callers 2

test_view_operationsFunction · 0.45
test_del_viewFunction · 0.45

Calls 3

collectMethod · 0.45
into_iterMethod · 0.45
snapshot_viewsMethod · 0.45

Tested by 2

test_view_operationsFunction · 0.36
test_del_viewFunction · 0.36