MCPcopy Create free account
hub / github.com/AppFlowy-IO/AppFlowy-Collab / get_current_view

Method get_current_view

collab/src/folder/folder.rs:248–251  ·  view source on GitHub ↗
(&self, uid: i64)

Source from the content-addressed store, hash-verified

246 }
247
248 pub fn get_current_view(&self, uid: i64) -> Option<ViewId> {
249 let txn = self.collab.transact();
250 self.body.get_current_view(&txn, Some(uid))
251 }
252
253 pub fn update_view<F>(&mut self, view_id: &ViewId, f: F, uid: i64) -> Option<Arc<View>>
254 where

Callers 1

get_folder_dataMethod · 0.80

Calls 5

transactMethod · 0.45
getMethod · 0.45
get_with_txnMethod · 0.45
as_refMethod · 0.45

Tested by

no test coverage detected