MCPcopy Index your code

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

Functions3,042 in github.com/AppFlowy-IO/AppFlowy-Cloud

↓ 353 callersMethodsend
(&self, msg: M)
libs/client-api/src/ws/client.rs:404
↓ 265 callersMethoditer
(&self)
libs/infra/src/file_util.rs:77
↓ 247 callersMethodpush
(&self, msg: Vec<ClientCollabMessage>)
libs/client-api/src/ws/msg_queue.rs:34
↓ 231 callersFunctiondefault
( input: &Option<T>, default_val: &str, )
admin_frontend/src/templates.rs:139
↓ 206 callersMethodget
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 callersMethodinto_inner
(self)
services/appflowy-collaborate/src/collab/cache/mem_cache.rs:57
↓ 176 callersMethodinsert
(&mut self, key: &str, value: T)
libs/shared-entity/src/dto/auth_dto.rs:23
↓ 154 callersMethodhttp_client_with_auth
( &self, method: Method, url: &str, )
libs/client-api/src/http.rs:1132
↓ 128 callersMethodis_empty
(&self)
libs/indexer/src/scheduler.rs:528
↓ 113 callersMethodworkspace_id
(&self)
libs/client-api/src/v2/actor.rs:102
↓ 106 callersFunctionget_env_var
(key: &str, default: &str)
services/appflowy-collaborate/src/config.rs:138
↓ 101 callersMethodparse
(req: &HttpRequest)
src/api/ws.rs:334
↓ 95 callersMethodwith_data
(mut self, data: T)
libs/shared-entity/src/response.rs:83
↓ 93 callersMethodget_user_uid
Get the user's uid from the cache or the database.
src/state.rs:112
↓ 93 callersMethodto_vec
(&self)
libs/collab-rt-protocol/src/message.rs:142
↓ 86 callersMethodlen
Get the length of the WebSocket message.
libs/client-websocket/src/message.rs:57
↓ 85 callersMethodlen
(&self)
src/api/util.rs:184
↓ 79 callersFunctiongenerate_unique_registered_user_client
()
libs/client-api-test/src/user.rs:75
↓ 72 callersMethodexecute
(&self, collab: CollabRef, step_count: usize)
tests/collab/util.rs:248
↓ 67 callersFunctionprocess_response_error
(resp: reqwest::Response)
libs/client-api/src/http.rs:1305
↓ 55 callersMethodas_ref
(&self)
services/appflowy-worker/src/s3_client.rs:221
↓ 52 callersMethodwait_object_sync_complete
(&self, object_id: &Uuid)
libs/client-api-test/src/test_client.rs:514
↓ 49 callersMethodas_str
(&self)
src/config/config.rs:282
↓ 47 callersMethodbind
( actor: &Arc<Self>, collab: &mut Collab, collab_type: CollabType, )
libs/client-api/src/v2/actor.rs:199
↓ 41 callersMethodget_workspaces
(&self)
libs/client-api/src/http.rs:732
↓ 40 callersMethodderef_mut
(&mut self)
libs/database-entity/src/dto.rs:355
↓ 40 callersMethodget_workspace_folder
( &self, workspace_id: &Uuid, depth: Option<u32>, root_view_id: Option<Uuid>, )
libs/client-api/src/http.rs:766
↓ 38 callersMethodinsert_into
(&self, object_id: &Uuid, key: &str, value: S)
libs/client-api-test/src/test_client.rs:99
↓ 38 callersMethodupgrade
(&self)
libs/client-api/src/v2/actor.rs:1225
↓ 36 callersFunctionlocalhost_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 callersMethodinvite_and_accepted_workspace_member
( &self, workspace_id: &Uuid, other_client: &TestClient, role: AFRole, )
libs/client-api-test/src/test_client.rs:425
↓ 34 callersMethodenforce_action
( &self, _workspace_id: &Uuid, _uid: &i64, _oid: &Uuid, _action: Action, )
libs/access-control/src/noops/collab.rs:28
↓ 34 callersMethodget_folder
(&self, workspace_id: WorkspaceId)
services/appflowy-collaborate/src/ws2/actors/server.rs:262
↓ 34 callersMethodrecv
(&mut self)
libs/client-api/src/v2/compactor.rs:24
↓ 32 callersMethodas_ref
(&self)
libs/shared-entity/src/dto/billing_dto.rs:61
↓ 30 callersMethodas_str
(&self)
libs/gotrue-entity/src/dto.rs:162
↓ 30 callersMethodload
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 callersMethoduid
(&self)
libs/collab-rt-entity/src/message.rs:205
↓ 28 callersMethodopen_collab
( &mut self, workspace_id: Uuid, object_id: Uuid, collab_type: CollabType, )
libs/client-api-test/src/test_client.rs:853
↓ 27 callersMethodderef_mut
(&mut self)
libs/client-api/src/notify.rs:107
↓ 26 callersFunctionrender_template
(x: T)
admin_frontend/src/web_app.rs:515
↓ 25 callersFunctionassert_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 callersFunctionrealtime_user_for_web_request
Create new realtime user for requests from appflowy web
src/api/util.rs:92
↓ 23 callersFunctionworkspace_id_from_client
(c: &Client)
libs/client-api-test/src/client.rs:57
↓ 22 callersMethodborrow
(&self)
libs/client-api/src/v2/actor.rs:1249
↓ 22 callersMethodcreate_and_edit_collab
( &mut self, workspace_id: Uuid, collab_type: CollabType, )
libs/client-api-test/src/test_client.rs:751
↓ 22 callersMethodtimestamp
(&self)
libs/snowflake/src/lib.rs:52
↓ 22 callersFunctionupdate_workspace_folder_data
( appflowy_web_metrics: &AppFlowyWebMetrics, update_publisher: &impl CollabUpdatePublisher, user: Realti
src/biz/workspace/page_view.rs:2369
↓ 21 callersMethodbuild
(config: Config, state: AppState)
src/application.rs:86
↓ 21 callersMethoddo_send
(&self, _message: RealtimeMessage)
services/appflowy-collaborate/src/group/null_sender.rs:52
↓ 21 callersFunctiongenerate_unique_registered_user
()
libs/client-api-test/src/user.rs:70
↓ 21 callersMethodinto_response
(self)
admin_frontend/src/error.rs:28
↓ 21 callersMethodis_ok
(&self)
libs/shared-entity/src/response.rs:98
↓ 21 callersMethodto_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 callersMethodget_blob
(&self, url: &str)
libs/client-api/src/http_blob.rs:184
↓ 20 callersMethodupdate_policy
( &self, sub: SubjectType, obj: ObjectType, act: T, )
libs/access-control/src/casbin/enforcer_v2.rs:287
↓ 19 callersMethodcontent_type
(&self)
libs/database/src/file/s3_client_impl.rs:520
↓ 19 callersMethodnext
(&self)
libs/client-api/src/collab_sync/collab_sink.rs:509
↓ 19 callersMethodobserve
( &self, stream_key: StreamKey, last_id: Option<String>, )
libs/collab-stream/src/stream_router.rs:124
↓ 19 callersMethodshutdown
(&self)
libs/access-control/src/casbin/enforcer_v2.rs:514
↓ 19 callersMethodsign_in_password
( &self, email: &str, password: &str, )
libs/client-api/src/http.rs:268
↓ 19 callersMethodtext
Create a new text WebSocket message from a stringable.
libs/client-websocket/src/message.rs:16
↓ 18 callersMethodaccess_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 callersMethodbuild
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 callersMethodcreate_collab
(&self, params: CreateCollabParams)
libs/client-api/src/http_collab.rs:42
↓ 18 callersFunctionget_latest_folder
(test_client: &TestClient, workspace_id: &Uuid)
tests/workspace/page_view.rs:21
↓ 18 callersMethodget_profile
(&self)
libs/client-api/src/http.rs:673
↓ 17 callersMethodenforce_policy
( &self, uid: &i64, obj: ObjectType, act: T, )
libs/access-control/src/casbin/enforcer.rs:277
↓ 17 callersFunctiongen_view_id
()
libs/workspace-template/src/lib.rs:168
↓ 17 callersMethodhttp_client_with_auth
( &self, method: Method, url: &str, access_token: &str, )
libs/gotrue/src/api.rs:354
↓ 17 callersMethodlen
(&self)
libs/collab-rt-entity/src/message.rs:178
↓ 17 callersMethodupdate_user
( &self, access_token: &str, update_user_params: &UpdateGotrueUserParams, )
libs/gotrue/src/api.rs:159
↓ 17 callersMethodvalue
(&self)
libs/app-error/src/lib.rs:489
↓ 16 callersMethodasync_http_client
(&self, method: Method, url: &str)
libs/appflowy-ai-client/src/client.rs:343
↓ 16 callersMethodget_blob_url
(&self, workspace_id: &Uuid, file_id: &str)
libs/client-api/src/http_blob.rs:18
↓ 16 callersMethodget_collab
(&self, object_id: &ObjectId)
libs/client-api/src/v2/actor.rs:116
↓ 16 callersMethodis_empty
(&self)
libs/client-api/src/notify.rs:29
↓ 16 callersMethodset_access_token
(&self, token: String)
libs/client-api/src/v2/conn_retry.rs:75
↓ 15 callersMethodclose
(&mut self)
libs/client-api/src/v2/controller.rs:114
↓ 15 callersFunctiongroup_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 callersMethodretry_with_exponential_backoff
( &self, target: Arc<dyn ReconnectTarget + Send + Sync>, token: String, )
libs/client-api/src/v2/conn_retry.rs:107
↓ 15 callersMethodwith_view_id
(mut self, view_id: T)
libs/workspace-template/src/hierarchy_builder.rs:73
↓ 14 callersFunctionai_test_enabled
()
libs/client-api-test/src/log.rs:27
↓ 14 callersMethodencode
(&self)
libs/collab-stream/src/model.rs:297
↓ 14 callersMethodenforce_role_strong
( &self, _uid: &i64, _workspace_id: &Uuid, _role: AFRole, )
libs/access-control/src/noops/workspace.rs:26
↓ 14 callersFunctiongenerate_random_string
(len: usize)
tests/collab/util.rs:29
↓ 14 callersFunctiongenerate_unique_email
()
libs/client-api-test/src/user.rs:24
↓ 14 callersMethodnext
(&mut self)
libs/collab-rt-protocol/src/message.rs:292
↓ 14 callersMethodopen_workspace_collab
(&mut self, workspace_id: Uuid)
libs/client-api-test/src/test_client.rs:846
↓ 14 callersMethodsplit
(self)
libs/database-entity/src/dto.rs:71
↓ 14 callersFunctiontest_enforcer_v2
()
libs/access-control/src/casbin/enforcer_v2.rs:535
↓ 14 callersFunctionto_gotrue_result
(resp: reqwest::Response)
libs/gotrue/src/api.rs:364
↓ 14 callersMethodtoken
(&self)
src/state.rs:188
↓ 14 callersMethodupsert_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 callersFunctionappflowy_ai_client
()
libs/appflowy-ai-client/tests/main.rs:12
↓ 13 callersFunctionassert_client_collab_include_value
( client: &mut TestClient, object_id: &Uuid, expected: Value, )
libs/client-api-test/src/test_client.rs:1147
↓ 13 callersMethodclient_id
(&self, workspace_id: &Uuid)
libs/client-api-test/src/test_client_v2.rs:181
↓ 13 callersMethodenforce_policy
( &self, uid: &i64, obj: ObjectType, act: T, )
libs/access-control/src/casbin/enforcer_v2.rs:400
↓ 13 callersMethodnext
(&self)
services/appflowy-collaborate/src/ws2/actors/server.rs:297
↓ 13 callersMethodset_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