Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AppFlowy-IO/AppFlowy-Cloud
/ functions
Functions
3,042 in github.com/AppFlowy-IO/AppFlowy-Cloud
⨍
Functions
3,042
◇
Types & classes
910
↓ 353 callers
Method
send
(&self, msg: M)
libs/client-api/src/ws/client.rs:404
↓ 265 callers
Method
iter
(&self)
libs/infra/src/file_util.rs:77
↓ 247 callers
Method
push
(&self, msg: Vec<ClientCollabMessage>)
libs/client-api/src/ws/msg_queue.rs:34
↓ 231 callers
Function
default
( input: &Option<T>, default_val: &str, )
admin_frontend/src/templates.rs:139
↓ 206 callers
Method
get
Attempts to get a strong reference to the RocksDB instance. If this is a strong holder, it simply clones the Arc. If this is a weak holder, it attemp
libs/client-api/src/v2/db.rs:430
↓ 191 callers
Method
into_inner
(self)
services/appflowy-collaborate/src/collab/cache/mem_cache.rs:57
↓ 176 callers
Method
insert
(&mut self, key: &str, value: T)
libs/shared-entity/src/dto/auth_dto.rs:23
↓ 154 callers
Method
http_client_with_auth
( &self, method: Method, url: &str, )
libs/client-api/src/http.rs:1132
↓ 128 callers
Method
is_empty
(&self)
libs/indexer/src/scheduler.rs:528
↓ 113 callers
Method
workspace_id
(&self)
libs/client-api/src/v2/actor.rs:102
↓ 106 callers
Function
get_env_var
(key: &str, default: &str)
services/appflowy-collaborate/src/config.rs:138
↓ 101 callers
Method
parse
(req: &HttpRequest)
src/api/ws.rs:334
↓ 95 callers
Method
with_data
(mut self, data: T)
libs/shared-entity/src/response.rs:83
↓ 93 callers
Method
get_user_uid
Get the user's uid from the cache or the database.
src/state.rs:112
↓ 93 callers
Method
to_vec
(&self)
libs/collab-rt-protocol/src/message.rs:142
↓ 86 callers
Method
len
Get the length of the WebSocket message.
libs/client-websocket/src/message.rs:57
↓ 85 callers
Method
len
(&self)
src/api/util.rs:184
↓ 79 callers
Function
generate_unique_registered_user_client
()
libs/client-api-test/src/user.rs:75
↓ 72 callers
Method
execute
(&self, collab: CollabRef, step_count: usize)
tests/collab/util.rs:248
↓ 67 callers
Function
process_response_error
(resp: reqwest::Response)
libs/client-api/src/http.rs:1305
↓ 55 callers
Method
as_ref
(&self)
services/appflowy-worker/src/s3_client.rs:221
↓ 52 callers
Method
wait_object_sync_complete
(&self, object_id: &Uuid)
libs/client-api-test/src/test_client.rs:514
↓ 49 callers
Method
as_str
(&self)
src/config/config.rs:282
↓ 47 callers
Method
bind
( actor: &Arc<Self>, collab: &mut Collab, collab_type: CollabType, )
libs/client-api/src/v2/actor.rs:199
↓ 41 callers
Method
get_workspaces
(&self)
libs/client-api/src/http.rs:732
↓ 40 callers
Method
deref_mut
(&mut self)
libs/database-entity/src/dto.rs:355
↓ 40 callers
Method
get_workspace_folder
( &self, workspace_id: &Uuid, depth: Option<u32>, root_view_id: Option<Uuid>, )
libs/client-api/src/http.rs:766
↓ 38 callers
Method
insert_into
(&self, object_id: &Uuid, key: &str, value: S)
libs/client-api-test/src/test_client.rs:99
↓ 38 callers
Method
upgrade
(&self)
libs/client-api/src/v2/actor.rs:1225
↓ 36 callers
Function
localhost_client
Return a client that connects to the local host. It requires to run the server locally. ```shell ./script/run_local_server.sh ```
libs/client-api-test/src/client.rs:41
↓ 35 callers
Method
invite_and_accepted_workspace_member
( &self, workspace_id: &Uuid, other_client: &TestClient, role: AFRole, )
libs/client-api-test/src/test_client.rs:425
↓ 34 callers
Method
enforce_action
( &self, _workspace_id: &Uuid, _uid: &i64, _oid: &Uuid, _action: Action, )
libs/access-control/src/noops/collab.rs:28
↓ 34 callers
Method
get_folder
(&self, workspace_id: WorkspaceId)
services/appflowy-collaborate/src/ws2/actors/server.rs:262
↓ 34 callers
Method
recv
(&mut self)
libs/client-api/src/v2/compactor.rs:24
↓ 32 callers
Method
as_ref
(&self)
libs/shared-entity/src/dto/billing_dto.rs:61
↓ 30 callers
Method
as_str
(&self)
libs/gotrue-entity/src/dto.rs:162
↓ 30 callers
Method
load
Loads a document from the local database into the provided Collab instance. This function retrieves updates from the local database and applies it to
libs/client-api/src/v2/db.rs:174
↓ 29 callers
Method
uid
(&self)
libs/collab-rt-entity/src/message.rs:205
↓ 28 callers
Method
open_collab
( &mut self, workspace_id: Uuid, object_id: Uuid, collab_type: CollabType, )
libs/client-api-test/src/test_client.rs:853
↓ 27 callers
Method
deref_mut
(&mut self)
libs/client-api/src/notify.rs:107
↓ 26 callers
Function
render_template
(x: T)
admin_frontend/src/web_app.rs:515
↓ 25 callers
Function
assert_server_collab
( workspace_id: Uuid, client: &mut client_api::Client, object_id: Uuid, collab_type: &CollabType, ti
libs/client-api-test/src/test_client.rs:1054
↓ 23 callers
Function
realtime_user_for_web_request
Create new realtime user for requests from appflowy web
src/api/util.rs:92
↓ 23 callers
Function
workspace_id_from_client
(c: &Client)
libs/client-api-test/src/client.rs:57
↓ 22 callers
Method
borrow
(&self)
libs/client-api/src/v2/actor.rs:1249
↓ 22 callers
Method
create_and_edit_collab
( &mut self, workspace_id: Uuid, collab_type: CollabType, )
libs/client-api-test/src/test_client.rs:751
↓ 22 callers
Method
timestamp
(&self)
libs/snowflake/src/lib.rs:52
↓ 22 callers
Function
update_workspace_folder_data
( appflowy_web_metrics: &AppFlowyWebMetrics, update_publisher: &impl CollabUpdatePublisher, user: Realti
src/biz/workspace/page_view.rs:2369
↓ 21 callers
Method
build
(config: Config, state: AppState)
src/application.rs:86
↓ 21 callers
Method
do_send
(&self, _message: RealtimeMessage)
services/appflowy-collaborate/src/group/null_sender.rs:52
↓ 21 callers
Function
generate_unique_registered_user
()
libs/client-api-test/src/user.rs:70
↓ 21 callers
Method
into_response
(self)
admin_frontend/src/error.rs:28
↓ 21 callers
Method
is_ok
(&self)
libs/shared-entity/src/response.rs:98
↓ 21 callers
Method
to_enforce_act
maps different access levels to a set of predefined action identifiers that represent permissions. It starts with a base action applicable to all acce
libs/access-control/src/act.rs:25
↓ 20 callers
Method
get_blob
(&self, url: &str)
libs/client-api/src/http_blob.rs:184
↓ 20 callers
Method
update_policy
( &self, sub: SubjectType, obj: ObjectType, act: T, )
libs/access-control/src/casbin/enforcer_v2.rs:287
↓ 19 callers
Method
content_type
(&self)
libs/database/src/file/s3_client_impl.rs:520
↓ 19 callers
Method
next
(&self)
libs/client-api/src/collab_sync/collab_sink.rs:509
↓ 19 callers
Method
observe
( &self, stream_key: StreamKey, last_id: Option<String>, )
libs/collab-stream/src/stream_router.rs:124
↓ 19 callers
Method
shutdown
(&self)
libs/access-control/src/casbin/enforcer_v2.rs:514
↓ 19 callers
Method
sign_in_password
( &self, email: &str, password: &str, )
libs/client-api/src/http.rs:268
↓ 19 callers
Method
text
Create a new text WebSocket message from a stringable.
libs/client-websocket/src/message.rs:16
↓ 18 callers
Method
access_token
Retrieves the access token string. This function attempts to read the current token and, if successful, returns the access token string. # Returns -
libs/client-api/src/http.rs:652
↓ 18 callers
Method
build
Builds the `ThreadPoolNoAbort` instance. This method creates a `ThreadPoolNoAbort` with the specified configurations, including custom panic handling
libs/infra/src/thread_pool.rs:105
↓ 18 callers
Method
create_collab
(&self, params: CreateCollabParams)
libs/client-api/src/http_collab.rs:42
↓ 18 callers
Function
get_latest_folder
(test_client: &TestClient, workspace_id: &Uuid)
tests/workspace/page_view.rs:21
↓ 18 callers
Method
get_profile
(&self)
libs/client-api/src/http.rs:673
↓ 17 callers
Method
enforce_policy
( &self, uid: &i64, obj: ObjectType, act: T, )
libs/access-control/src/casbin/enforcer.rs:277
↓ 17 callers
Function
gen_view_id
()
libs/workspace-template/src/lib.rs:168
↓ 17 callers
Method
http_client_with_auth
( &self, method: Method, url: &str, access_token: &str, )
libs/gotrue/src/api.rs:354
↓ 17 callers
Method
len
(&self)
libs/collab-rt-entity/src/message.rs:178
↓ 17 callers
Method
update_user
( &self, access_token: &str, update_user_params: &UpdateGotrueUserParams, )
libs/gotrue/src/api.rs:159
↓ 17 callers
Method
value
(&self)
libs/app-error/src/lib.rs:489
↓ 16 callers
Method
async_http_client
(&self, method: Method, url: &str)
libs/appflowy-ai-client/src/client.rs:343
↓ 16 callers
Method
get_blob_url
(&self, workspace_id: &Uuid, file_id: &str)
libs/client-api/src/http_blob.rs:18
↓ 16 callers
Method
get_collab
(&self, object_id: &ObjectId)
libs/client-api/src/v2/actor.rs:116
↓ 16 callers
Method
is_empty
(&self)
libs/client-api/src/notify.rs:29
↓ 16 callers
Method
set_access_token
(&self, token: String)
libs/client-api/src/v2/conn_retry.rs:75
↓ 15 callers
Method
close
(&mut self)
libs/client-api/src/v2/controller.rs:114
↓ 15 callers
Function
group_paragraphs_by_max_content_len
Groups a list of paragraphs into chunks that fit within a specified maximum content length. takes a vector of paragraph strings and combines them int
libs/indexer/src/vector/open_ai.rs:153
↓ 15 callers
Method
retry_with_exponential_backoff
( &self, target: Arc<dyn ReconnectTarget + Send + Sync>, token: String, )
libs/client-api/src/v2/conn_retry.rs:107
↓ 15 callers
Method
with_view_id
(mut self, view_id: T)
libs/workspace-template/src/hierarchy_builder.rs:73
↓ 14 callers
Function
ai_test_enabled
()
libs/client-api-test/src/log.rs:27
↓ 14 callers
Method
encode
(&self)
libs/collab-stream/src/model.rs:297
↓ 14 callers
Method
enforce_role_strong
( &self, _uid: &i64, _workspace_id: &Uuid, _role: AFRole, )
libs/access-control/src/noops/workspace.rs:26
↓ 14 callers
Function
generate_random_string
(len: usize)
tests/collab/util.rs:29
↓ 14 callers
Function
generate_unique_email
()
libs/client-api-test/src/user.rs:24
↓ 14 callers
Method
next
(&mut self)
libs/collab-rt-protocol/src/message.rs:292
↓ 14 callers
Method
open_workspace_collab
(&mut self, workspace_id: Uuid)
libs/client-api-test/src/test_client.rs:846
↓ 14 callers
Method
split
(self)
libs/database-entity/src/dto.rs:71
↓ 14 callers
Function
test_enforcer_v2
()
libs/access-control/src/casbin/enforcer_v2.rs:535
↓ 14 callers
Function
to_gotrue_result
(resp: reqwest::Response)
libs/gotrue/src/api.rs:364
↓ 14 callers
Method
token
(&self)
src/state.rs:188
↓ 14 callers
Method
upsert_new_collab_with_transaction
( &self, workspace_id: Uuid, uid: &i64, params: CollabParams, transaction: &mut Transactio
services/appflowy-collaborate/src/collab/collab_store.rs:206
↓ 13 callers
Function
appflowy_ai_client
()
libs/appflowy-ai-client/tests/main.rs:12
↓ 13 callers
Function
assert_client_collab_include_value
( client: &mut TestClient, object_id: &Uuid, expected: Value, )
libs/client-api-test/src/test_client.rs:1147
↓ 13 callers
Method
client_id
(&self, workspace_id: &Uuid)
libs/client-api-test/src/test_client_v2.rs:181
↓ 13 callers
Method
enforce_policy
( &self, uid: &i64, obj: ObjectType, act: T, )
libs/access-control/src/casbin/enforcer_v2.rs:400
↓ 13 callers
Method
next
(&self)
services/appflowy-collaborate/src/ws2/actors/server.rs:297
↓ 13 callers
Method
set_workspace_publish_namespace
Changes the namespace for the first non-original publish namespace or the original publish namespace if not exists.
libs/client-api/src/http_publish.rs:38
next →
1–100 of 3,042, ranked by callers