MCPcopy Create free account

hub / github.com/AppFlowy-IO/AppFlowy-Collab / functions

Functions2,841 in github.com/AppFlowy-IO/AppFlowy-Collab

↓ 311 callersMethodget
(&self, key: &str)
collab/src/core/collab.rs:591
↓ 268 callersMethodinsert
(&mut self, id: &str, key: String, value: Any)
collab/tests/plugins/disk/script.rs:199
↓ 207 callersMethodas_i64
(&self)
collab/src/folder/folder.rs:44
↓ 193 callersMethodtransact_mut
(&mut self)
collab/src/core/collab.rs:183
↓ 169 callersMethodtransact
(&self)
collab/src/core/collab.rs:223
↓ 163 callersMethodget_with_txn
(&self, txn: &T, key: &str)
collab/src/core/collab.rs:577
↓ 155 callersMethodpush
(self, any_map: AnyMap)
collab/src/core/any_array.rs:108
↓ 146 callersMethodinto_iter
(self)
collab/src/core/collab.rs:824
↓ 126 callersMethodas_str
(&self)
collab/src/database/rows/row.rs:793
↓ 117 callersMethodinsert
Override the existing cell's key/value contained in the [Cell] It will create the cell if it's not exist
collab/src/database/rows/cell.rs:37
↓ 98 callersMethodget_document_data
(&self)
collab/tests/document/blocks/block_test_core.rs:126
↓ 84 callersFunctiondefault_client_id
()
collab/src/core/collab.rs:242
↓ 80 callersFunctiongenerate_id
()
collab/tests/document/blocks/block_test_core.rs:300
↓ 78 callersMethodparse
(&self, block: &Block, context: &ParseContext)
collab/src/document/block_parser/parsers/page.rs:12
↓ 76 callersMethodinsert
(&mut self, value: String, attributes: Vec<(String, Value)>)
collab/src/document/importer/delta.rs:64
↓ 76 callersMethodis_empty
(&self)
collab/src/database/rows/row.rs:852
↓ 75 callersMethodas_ref
(&self)
collab/src/plugins/local_storage/kv/keys.rs:231
↓ 72 callersFunctionmake_test_view
(view_id: &str, parent_view_id: Uuid, belongings: Vec<ViewId>)
collab/tests/folder/util.rs:87
↓ 65 callersMethodget_view
( &self, txn: &T, view_id: &ViewId, uid: Option<i64>, )
collab/src/folder/view.rs:240
↓ 64 callersMethodlock
(&self)
collab/src/lock/lock_timeout.rs:95
↓ 62 callersFunctionview_id_from_any_string
Convert any string to ViewId using deterministic UUID generation for testing This is used in tests where predictable string IDs are needed
collab/src/entity/uuid_validation.rs:136
↓ 60 callersMethodis_empty
(&self)
collab/src/core/collab.rs:789
↓ 59 callersMethodinsert
Insert a new cell's key/value into the [TypeOptionData]
collab/src/database/fields/type_option/mod.rs:99
↓ 55 callersMethodas_str
(&self)
collab/src/document/blocks/attr_keys.rs:14
↓ 53 callersMethodas_bytes
(&self)
collab/src/entity/mod.rs:23
↓ 46 callersMethodinsert
(&mut self, key: &str, value: P)
collab/src/core/collab.rs:581
↓ 45 callersMethodinsert_block
Insert block to the document.
collab/src/document/document.rs:239
↓ 44 callersFunctioncreate_database_with_default_data
Create a database with default data It will create a default view with id 'v1'
collab/tests/database/database_test/helper.rs:308
↓ 43 callersMethodparse_view_id
Helper function to safely convert string view ID to DatabaseViewId
collab/src/database/database.rs:2310
↓ 41 callersMethodget_page
(&self)
collab/tests/document/blocks/block_test_core.rs:133
↓ 41 callersMethodupdate_database_view
(&mut self, view_id: &str, f: F)
collab/src/database/database.rs:431
↓ 40 callersMethodapply_update
(&mut self, update: Update)
collab/src/core/collab.rs:197
↓ 40 callersFunctionassert_number
(type_option: &NumberTypeOption, input_str: &str, expected_str: &str)
collab/src/database/fields/type_option/number_type_option.rs:874
↓ 40 callersMethodinsert
Inserts a new view into the specified workspace under a given parent view. # Parameters: - `parent_view_id`: The ID of the parent view under which th
collab/src/folder/view.rs:329
↓ 39 callersMethodcreate_row
Create a new row from the given params. This row will be inserted to the end of rows of each view that reference the given database. Return the row or
collab/src/database/database.rs:417
↓ 39 callersFunctionnew_cell_builder
Create a new [CellBuilder] with the field type.
collab/src/database/rows/cell.rs:61
↓ 35 callersFunctiongen_row_id
()
collab/src/database/database.rs:1698
↓ 35 callersMethodremove
Remove the cell's key/value from the [TypeOptionData]
collab/src/database/fields/type_option/mod.rs:116
↓ 33 callersFunctioncreate_database
(_uid: i64, database_id: &str)
collab/tests/database/database_test/helper.rs:96
↓ 33 callersFunctionmarkdown_to_document_data
(md: T)
collab/tests/document/importer/util.rs:5
↓ 33 callersMethodpush_back
(&self, txn: &mut TransactionMut, value: DatabaseMeta)
collab/src/database/workspace_database/body.rs:235
↓ 32 callersFunctioncreate_folder_with_workspace
(uid: UserId, workspace_id: Uuid)
collab/tests/folder/util.rs:83
↓ 31 callersMethodas_ref
(&self)
collab/src/core/any_map.rs:207
↓ 31 callersMethodcreate_text
(&mut self, delta: String)
collab/tests/document/blocks/block_test_core.rs:171
↓ 31 callersMethodto_vec
(&self)
collab/src/plugins/local_storage/kv/snapshot.rs:210
↓ 30 callersMethodinitialize
Upon calling this method, the [Collab]'s document will be initialized with the plugins. The callbacks from the plugins will be triggered in the order
collab/src/core/collab.rs:484
↓ 29 callersMethodget_as
(&self, key: &str)
collab/src/util.rs:399
↓ 29 callersMethodget_block
(&self, block_id: &str)
collab/tests/document/blocks/block_test_core.rs:139
↓ 29 callersFunctionsync_unzip_asset
(file_name: &str)
collab/tests/importer/util.rs:32
↓ 29 callersFunctiontimestamp
()
collab/src/database/database.rs:1728
↓ 29 callersMethodwith_data_source
(mut self, data_source: DataSource)
collab/src/core/collab.rs:344
↓ 28 callersMethodbuild
(&mut self)
collab/src/folder/hierarchy_builder.rs:42
↓ 28 callersMethodremove
(&mut self, key: &str)
collab/src/core/collab.rs:600
↓ 27 callersMethodget_indent
(&self)
collab/src/document/block_parser/traits.rs:86
↓ 26 callersMethodas_ref
(&self)
collab/tests/plugins/disk/range_test.rs:257
↓ 26 callersMethodfind
(&self, txn: &T, reminder_id: &str)
collab/src/user/reminder.rs:39
↓ 26 callersFunctionget_children_blocks
(document_data: &DocumentData, block_id: &str)
collab/tests/document/importer/util.rs:37
↓ 26 callersMethodinsert_view
Inserts a new view into the specified workspace under a given parent view. # Parameters: - `parent_view_id`: The ID of the parent view under which th
collab/src/folder/folder.rs:1140
↓ 26 callersMethodregister
(&mut self, parser: Arc<dyn BlockParser + Send + Sync>)
collab/src/document/block_parser/registry.rs:28
↓ 25 callersMethodcreate_field
Creates a new field, inserts field order and adds a field setting. See `create_field_with_txn` for more information.
collab/src/database/database.rs:759
↓ 25 callersMethodcreate_linked_view
Create a linked view to existing database
collab/src/database/database.rs:1405
↓ 25 callersFunctionmeta_id_from_row_id
(row_id: &Uuid, key: RowMetaKey)
collab/src/database/rows/row.rs:873
↓ 25 callersMethodread_txn
(&'b self)
collab/src/plugins/local_storage/rocksdb/kv_impl.rs:139
↓ 25 callersMethodsection_op
( &self, txn: &T, section: Section, uid: Option<i64>, )
collab/src/folder/section.rs:44
↓ 25 callersMethodwith_name
(mut self, name: &str)
collab/src/folder/hierarchy_builder.rs:174
↓ 24 callersFunctiontimestamp
()
collab/src/folder/view.rs:38
↓ 24 callersFunctionwait_for_specific_event
( mut change_rx: tokio::sync::broadcast::Receiver<T>, mut condition: F, )
collab/tests/database/database_test/helper.rs:415
↓ 22 callersMethodcreate_cell
(mut self, cell: T)
collab/src/database/template/builder.rs:149
↓ 22 callersMethodget_views_belong_to
Get views belonging to a parent. When uid is provided, includes user-specific enrichment.
collab/src/folder/view.rs:160
↓ 22 callersMethodget_with_path
(&self, txn: &T, path: P)
collab/src/util.rs:71
↓ 22 callersMethodwrite
(&self)
collab/src/lock/rwlock.rs:26
↓ 21 callersMethodget_all_views
Get all views. When uid is provided, includes user-specific enrichment like is_favorite.
collab/src/folder/view.rs:220
↓ 21 callersMethodremove_range
(&self, from: &[u8], to: &[u8])
collab/src/plugins/local_storage/kv/db.rs:84
↓ 20 callersMethodfill
(self, txn: &mut TransactionMut, shared_ref: &MapRef)
collab/src/core/fill.rs:16
↓ 20 callersMethodimport
Return a ImportedInfo struct that contains all the views and their children recursively.
collab/src/importer/notion/importer.rs:69
↓ 20 callersMethodmap_ref
(&self)
collab/src/core/map_wrapper.rs:212
↓ 20 callersMethodparse_block
( &self, block: &Block, context: &ParseContext, )
collab/src/document/block_parser/registry.rs:42
↓ 20 callersMethodread
(&self)
collab/src/lock/rwlock.rs:22
↓ 20 callersMethodto_json
(&self)
collab/src/core/collab.rs:639
↓ 20 callersMethodwith_write_txn
( &'b self, f: impl FnOnce(&Self::TransactionAction<'a>) -> Result<Output, CollabError>, )
collab/src/plugins/local_storage/rocksdb/kv_impl.rs:166
↓ 19 callersMethodadd_plugin
Add a plugin to the [Collab]. The plugin's callbacks will be called in the order they are added.
collab/src/core/collab.rs:546
↓ 19 callersMethoddone
(self)
collab/src/folder/view.rs:597
↓ 19 callersMethodget_block_children
(&self, block_id: &str)
collab/tests/document/blocks/block_test_core.rs:155
↓ 19 callersMethodget_rows_for_view
(&self, view_id: &str)
collab/tests/database/database_test/helper.rs:38
↓ 19 callersFunctionrecv_until
(rx: &mut ViewChangeReceiver, mut predicate: F)
collab/src/database/views/view_observer.rs:539
↓ 19 callersMethodsplit
(self)
collab/src/document/document.rs:118
↓ 19 callersMethodsubscribe_view_change
(&self)
collab/src/database/database.rs:361
↓ 19 callersMethodupdate
(self, f: F)
collab/src/database/views/view.rs:29
↓ 19 callersMethodvalidate_require_data
Validates the provided collaboration object (`collab`) based on its type. checks for the presence of required data in the collaboration object to ens
collab/src/entity/collab_object.rs:65
↓ 18 callersMethodas_ref
(&self)
collab/src/folder/folder.rs:50
↓ 18 callersMethodas_ref
(&self)
collab/src/entity/mod.rs:41
↓ 18 callersMethoddone
(self)
collab/src/database/views/view.rs:37
↓ 18 callersFunctiondrain
(rx: &mut broadcast::Receiver<T>)
collab/src/database/views/view_observer.rs:528
↓ 18 callersMethodtimestamp
()
collab/src/plugins/local_storage/kv/oid.rs:94
↓ 17 callersMethodapply_text_delta
Create a yText for incremental synchronization. Apply a delta to the yText. - @param text_id: The text block's external_id. - @param delta: The text b
collab/src/document/document.rs:177
↓ 17 callersMethodas_ref
(&self)
collab/src/document/blocks/block_types.rs:146
↓ 17 callersMethodget_awareness
(&self)
collab/src/core/collab.rs:159
↓ 17 callersFunctionget_delta_json
(document_data: &DocumentData, block_id: &str)
collab/tests/document/importer/util.rs:57
↓ 17 callersFunctionget_page_block
(document_data: &DocumentData)
collab/tests/document/importer/util.rs:15
↓ 16 callersMethodas_ref
(&self)
collab/src/folder/section.rs:158
next →1–100 of 2,841, ranked by callers