Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AppFlowy-IO/AppFlowy-Collab
/ functions
Functions
2,841 in github.com/AppFlowy-IO/AppFlowy-Collab
⨍
Functions
2,841
◇
Types & classes
464
↓ 311 callers
Method
get
(&self, key: &str)
collab/src/core/collab.rs:591
↓ 268 callers
Method
insert
(&mut self, id: &str, key: String, value: Any)
collab/tests/plugins/disk/script.rs:199
↓ 207 callers
Method
as_i64
(&self)
collab/src/folder/folder.rs:44
↓ 193 callers
Method
transact_mut
(&mut self)
collab/src/core/collab.rs:183
↓ 169 callers
Method
transact
(&self)
collab/src/core/collab.rs:223
↓ 163 callers
Method
get_with_txn
(&self, txn: &T, key: &str)
collab/src/core/collab.rs:577
↓ 155 callers
Method
push
(self, any_map: AnyMap)
collab/src/core/any_array.rs:108
↓ 146 callers
Method
into_iter
(self)
collab/src/core/collab.rs:824
↓ 126 callers
Method
as_str
(&self)
collab/src/database/rows/row.rs:793
↓ 117 callers
Method
insert
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 callers
Method
get_document_data
(&self)
collab/tests/document/blocks/block_test_core.rs:126
↓ 84 callers
Function
default_client_id
()
collab/src/core/collab.rs:242
↓ 80 callers
Function
generate_id
()
collab/tests/document/blocks/block_test_core.rs:300
↓ 78 callers
Method
parse
(&self, block: &Block, context: &ParseContext)
collab/src/document/block_parser/parsers/page.rs:12
↓ 76 callers
Method
insert
(&mut self, value: String, attributes: Vec<(String, Value)>)
collab/src/document/importer/delta.rs:64
↓ 76 callers
Method
is_empty
(&self)
collab/src/database/rows/row.rs:852
↓ 75 callers
Method
as_ref
(&self)
collab/src/plugins/local_storage/kv/keys.rs:231
↓ 72 callers
Function
make_test_view
(view_id: &str, parent_view_id: Uuid, belongings: Vec<ViewId>)
collab/tests/folder/util.rs:87
↓ 65 callers
Method
get_view
( &self, txn: &T, view_id: &ViewId, uid: Option<i64>, )
collab/src/folder/view.rs:240
↓ 64 callers
Method
lock
(&self)
collab/src/lock/lock_timeout.rs:95
↓ 62 callers
Function
view_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 callers
Method
is_empty
(&self)
collab/src/core/collab.rs:789
↓ 59 callers
Method
insert
Insert a new cell's key/value into the [TypeOptionData]
collab/src/database/fields/type_option/mod.rs:99
↓ 55 callers
Method
as_str
(&self)
collab/src/document/blocks/attr_keys.rs:14
↓ 53 callers
Method
as_bytes
(&self)
collab/src/entity/mod.rs:23
↓ 46 callers
Method
insert
(&mut self, key: &str, value: P)
collab/src/core/collab.rs:581
↓ 45 callers
Method
insert_block
Insert block to the document.
collab/src/document/document.rs:239
↓ 44 callers
Function
create_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 callers
Method
parse_view_id
Helper function to safely convert string view ID to DatabaseViewId
collab/src/database/database.rs:2310
↓ 41 callers
Method
get_page
(&self)
collab/tests/document/blocks/block_test_core.rs:133
↓ 41 callers
Method
update_database_view
(&mut self, view_id: &str, f: F)
collab/src/database/database.rs:431
↓ 40 callers
Method
apply_update
(&mut self, update: Update)
collab/src/core/collab.rs:197
↓ 40 callers
Function
assert_number
(type_option: &NumberTypeOption, input_str: &str, expected_str: &str)
collab/src/database/fields/type_option/number_type_option.rs:874
↓ 40 callers
Method
insert
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 callers
Method
create_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 callers
Function
new_cell_builder
Create a new [CellBuilder] with the field type.
collab/src/database/rows/cell.rs:61
↓ 35 callers
Function
gen_row_id
()
collab/src/database/database.rs:1698
↓ 35 callers
Method
remove
Remove the cell's key/value from the [TypeOptionData]
collab/src/database/fields/type_option/mod.rs:116
↓ 33 callers
Function
create_database
(_uid: i64, database_id: &str)
collab/tests/database/database_test/helper.rs:96
↓ 33 callers
Function
markdown_to_document_data
(md: T)
collab/tests/document/importer/util.rs:5
↓ 33 callers
Method
push_back
(&self, txn: &mut TransactionMut, value: DatabaseMeta)
collab/src/database/workspace_database/body.rs:235
↓ 32 callers
Function
create_folder_with_workspace
(uid: UserId, workspace_id: Uuid)
collab/tests/folder/util.rs:83
↓ 31 callers
Method
as_ref
(&self)
collab/src/core/any_map.rs:207
↓ 31 callers
Method
create_text
(&mut self, delta: String)
collab/tests/document/blocks/block_test_core.rs:171
↓ 31 callers
Method
to_vec
(&self)
collab/src/plugins/local_storage/kv/snapshot.rs:210
↓ 30 callers
Method
initialize
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 callers
Method
get_as
(&self, key: &str)
collab/src/util.rs:399
↓ 29 callers
Method
get_block
(&self, block_id: &str)
collab/tests/document/blocks/block_test_core.rs:139
↓ 29 callers
Function
sync_unzip_asset
(file_name: &str)
collab/tests/importer/util.rs:32
↓ 29 callers
Function
timestamp
()
collab/src/database/database.rs:1728
↓ 29 callers
Method
with_data_source
(mut self, data_source: DataSource)
collab/src/core/collab.rs:344
↓ 28 callers
Method
build
(&mut self)
collab/src/folder/hierarchy_builder.rs:42
↓ 28 callers
Method
remove
(&mut self, key: &str)
collab/src/core/collab.rs:600
↓ 27 callers
Method
get_indent
(&self)
collab/src/document/block_parser/traits.rs:86
↓ 26 callers
Method
as_ref
(&self)
collab/tests/plugins/disk/range_test.rs:257
↓ 26 callers
Method
find
(&self, txn: &T, reminder_id: &str)
collab/src/user/reminder.rs:39
↓ 26 callers
Function
get_children_blocks
(document_data: &DocumentData, block_id: &str)
collab/tests/document/importer/util.rs:37
↓ 26 callers
Method
insert_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 callers
Method
register
(&mut self, parser: Arc<dyn BlockParser + Send + Sync>)
collab/src/document/block_parser/registry.rs:28
↓ 25 callers
Method
create_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 callers
Method
create_linked_view
Create a linked view to existing database
collab/src/database/database.rs:1405
↓ 25 callers
Function
meta_id_from_row_id
(row_id: &Uuid, key: RowMetaKey)
collab/src/database/rows/row.rs:873
↓ 25 callers
Method
read_txn
(&'b self)
collab/src/plugins/local_storage/rocksdb/kv_impl.rs:139
↓ 25 callers
Method
section_op
( &self, txn: &T, section: Section, uid: Option<i64>, )
collab/src/folder/section.rs:44
↓ 25 callers
Method
with_name
(mut self, name: &str)
collab/src/folder/hierarchy_builder.rs:174
↓ 24 callers
Function
timestamp
()
collab/src/folder/view.rs:38
↓ 24 callers
Function
wait_for_specific_event
( mut change_rx: tokio::sync::broadcast::Receiver<T>, mut condition: F, )
collab/tests/database/database_test/helper.rs:415
↓ 22 callers
Method
create_cell
(mut self, cell: T)
collab/src/database/template/builder.rs:149
↓ 22 callers
Method
get_views_belong_to
Get views belonging to a parent. When uid is provided, includes user-specific enrichment.
collab/src/folder/view.rs:160
↓ 22 callers
Method
get_with_path
(&self, txn: &T, path: P)
collab/src/util.rs:71
↓ 22 callers
Method
write
(&self)
collab/src/lock/rwlock.rs:26
↓ 21 callers
Method
get_all_views
Get all views. When uid is provided, includes user-specific enrichment like is_favorite.
collab/src/folder/view.rs:220
↓ 21 callers
Method
remove_range
(&self, from: &[u8], to: &[u8])
collab/src/plugins/local_storage/kv/db.rs:84
↓ 20 callers
Method
fill
(self, txn: &mut TransactionMut, shared_ref: &MapRef)
collab/src/core/fill.rs:16
↓ 20 callers
Method
import
Return a ImportedInfo struct that contains all the views and their children recursively.
collab/src/importer/notion/importer.rs:69
↓ 20 callers
Method
map_ref
(&self)
collab/src/core/map_wrapper.rs:212
↓ 20 callers
Method
parse_block
( &self, block: &Block, context: &ParseContext, )
collab/src/document/block_parser/registry.rs:42
↓ 20 callers
Method
read
(&self)
collab/src/lock/rwlock.rs:22
↓ 20 callers
Method
to_json
(&self)
collab/src/core/collab.rs:639
↓ 20 callers
Method
with_write_txn
( &'b self, f: impl FnOnce(&Self::TransactionAction<'a>) -> Result<Output, CollabError>, )
collab/src/plugins/local_storage/rocksdb/kv_impl.rs:166
↓ 19 callers
Method
add_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 callers
Method
done
(self)
collab/src/folder/view.rs:597
↓ 19 callers
Method
get_block_children
(&self, block_id: &str)
collab/tests/document/blocks/block_test_core.rs:155
↓ 19 callers
Method
get_rows_for_view
(&self, view_id: &str)
collab/tests/database/database_test/helper.rs:38
↓ 19 callers
Function
recv_until
(rx: &mut ViewChangeReceiver, mut predicate: F)
collab/src/database/views/view_observer.rs:539
↓ 19 callers
Method
split
(self)
collab/src/document/document.rs:118
↓ 19 callers
Method
subscribe_view_change
(&self)
collab/src/database/database.rs:361
↓ 19 callers
Method
update
(self, f: F)
collab/src/database/views/view.rs:29
↓ 19 callers
Method
validate_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 callers
Method
as_ref
(&self)
collab/src/folder/folder.rs:50
↓ 18 callers
Method
as_ref
(&self)
collab/src/entity/mod.rs:41
↓ 18 callers
Method
done
(self)
collab/src/database/views/view.rs:37
↓ 18 callers
Function
drain
(rx: &mut broadcast::Receiver<T>)
collab/src/database/views/view_observer.rs:528
↓ 18 callers
Method
timestamp
()
collab/src/plugins/local_storage/kv/oid.rs:94
↓ 17 callers
Method
apply_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 callers
Method
as_ref
(&self)
collab/src/document/blocks/block_types.rs:146
↓ 17 callers
Method
get_awareness
(&self)
collab/src/core/collab.rs:159
↓ 17 callers
Function
get_delta_json
(document_data: &DocumentData, block_id: &str)
collab/tests/document/importer/util.rs:57
↓ 17 callers
Function
get_page_block
(document_data: &DocumentData)
collab/tests/document/importer/util.rs:15
↓ 16 callers
Method
as_ref
(&self)
collab/src/folder/section.rs:158
next →
1–100 of 2,841, ranked by callers