Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AstralSightStudios/AstroBox-Public
/ functions
Functions
791 in github.com/AstralSightStudios/AstroBox-Public
⨍
Functions
791
◇
Types & classes
182
↓ 291 callers
Function
t
(key: string | undefined | null)
src/i18n/index.tsx:63
↓ 99 callers
Method
get
(&mut self, name: &str)
src-tauri/src/pluginsystem/manager.rs:164
↓ 70 callers
Method
push
(&self, cmd: Command)
src-tauri/src/miwear/command_pool/mod.rs:68
↓ 62 callers
Function
useI18n
()
src/i18n/index.tsx:89
↓ 34 callers
Method
send
( &self, data: Vec<u8>, characteristic: Option<Uuid>, )
src-tauri/src/bt/device.rs:253
↓ 30 callers
Method
build
(original_file_data: Vec<u8>, data_type: MassDataType)
src-tauri/src/miwear/device/mass/packet.rs:22
↓ 25 callers
Function
plugin_permission_check
(ctx: &mut Context, permission: String)
src-tauri/src/pluginsystem/utils.rs:24
↓ 24 callers
Method
add
(&mut self, path: &PathBuf)
src-tauri/src/pluginsystem/manager.rs:23
↓ 23 callers
Function
with_connected_device_async
(f: F)
src-tauri/src/miwear.rs:48
↓ 23 callers
Method
write
(&mut self, buf: &[u8])
src-tauri/src/logger.rs:62
↓ 22 callers
Method
update
(id: string, partial: Partial<TaskItem>)
src/taskqueue/tasklist.ts:43
↓ 21 callers
Function
read
(f: impl FnOnce(&AppConfig) -> R)
src-tauri/src/config.rs:94
↓ 19 callers
Method
error
(...args: any[])
src/log/logger.ts:6
↓ 17 callers
Function
get_provider
(name: &str)
src-tauri/src/community.rs:41
↓ 17 callers
Function
init
(app: &AppHandle)
src-tauri/src/config.rs:57
↓ 16 callers
Method
remove
(&mut self, name: &String)
src-tauri/src/pluginsystem/manager.rs:111
↓ 16 callers
Function
useAnimatedRouter
()
src/hooks/useAnimatedRouter.ts:5
↓ 15 callers
Method
log
(&self, msg: String, _: &ConsoleState, _: &mut Context)
src-tauri/src/pluginsystem/console.rs:21
↓ 14 callers
Method
send
───────────── 发送 ───────────── */
src-tauri/src/miwear/device.rs:278
↓ 14 callers
Function
write
(f: impl FnOnce(&mut AppConfig) -> R)
src-tauri/src/config.rs:99
↓ 13 callers
Method
info
(...args: any[])
src/log/logger.ts:4
↓ 12 callers
Method
encode
-- 序列化 --------------------------------------------- */
src-tauri/src/miwear/packet.rs:172
↓ 12 callers
Function
get_spp_handle
()
src-tauri/src/bt.rs:13
↓ 12 callers
Function
with_plugin_manager_async
---------- 跨线程:异步 API,闭包必须 Send ----------
src-tauri/src/pluginsystem.rs:121
↓ 10 callers
Function
get_plugin_name
(ctx: &mut Context)
src-tauri/src/pluginsystem/utils.rs:5
↓ 10 callers
Function
with_plugin_manager_sync
---------- 同线程:同步 API,无 Send 约束 ----------
src-tauri/src/pluginsystem.rs:98
↓ 9 callers
Method
build_file_url
(&self, repo: &str, folder: &str, file: &str)
src-tauri/src/pluginstore/provider/official.rs:90
↓ 9 callers
Method
convert_url
(self, url: &str)
src-tauri/src/community/provider/official.rs:34
↓ 9 callers
Method
from
(b: u8)
src-tauri/src/miwear/packet.rs:26
↓ 8 callers
Method
clear
()
src/taskqueue/tasklist.ts:67
↓ 8 callers
Method
get
(name: string)
src/community/manager.ts:111
↓ 8 callers
Method
get
(name: string)
src/account/manager.ts:36
↓ 8 callers
Method
getItem
(plugin: string)
src/pluginstore/provider.ts:34
↓ 8 callers
Method
getItem
(resname: string)
src/community/provider.ts:42
↓ 8 callers
Function
get_ble_handler
()
src-tauri/src/bt.rs:9
↓ 8 callers
Function
makeError
(dispatchToast: (content: ReactNode, options?: any) => void,message: string)
src/layout/toast.tsx:31
↓ 8 callers
Method
notify
()
src/taskqueue/tasklist.ts:40
↓ 8 callers
Method
request_proto
( &self, channel: Channel, op: OpCode, payload: &[u8], expect_type: u3
src-tauri/src/miwear/device.rs:407
↓ 8 callers
Method
setState
(updater: (prevState: typeof this.snapshot) => typeof this.snapshot)
src/pluginstore/manager.ts:25
↓ 8 callers
Method
setState
(updater: (prevState: typeof this.snapshot) => typeof this.snapshot)
src/community/manager.ts:26
↓ 8 callers
Function
useIsMobile
(breakPoint = 768)
src/hooks/useIsMobile.ts:3
↓ 8 callers
Function
useToast
()
src/layout/toast.tsx:16
↓ 7 callers
Method
getFileForDocId
Get the file given a document id (the reverse of {@link #getDocIdForFile(File)}).
src-tauri/gen/android/app/src/main/java/moe/astralsight/astrobox/AstroBoxDocumentsProvider.java:211
↓ 7 callers
Function
installResourceFromLocal
(type: ResourceType)
src/device/install.ts:34
↓ 7 callers
Method
parse
-- 解析 ------------------------------------------------ */
src-tauri/src/miwear/packet.rs:101
↓ 7 callers
Method
send_miwear_pkt
( self: &Arc<Self>, channel: packet::Channel, op: packet::OpCode, payload: &[u
src-tauri/src/miwear/device.rs:303
↓ 7 callers
Function
sleep
(ms: number)
src/tools/common.ts:1
↓ 7 callers
Method
warn
(...args: any[])
src/log/logger.ts:5
↓ 6 callers
Method
add
(item: TaskItem)
src/taskqueue/tasklist.ts:54
↓ 6 callers
Function
connect
(address: string,name:string,authKey:string)
src/device/connect.ts:5
↓ 6 callers
Function
read_file_cross_platform
(path: impl AsRef<str>)
src-tauri/src/fs.rs:21
↓ 6 callers
Method
send_fragments
(&self, frame: Vec<u8>)
src-tauri/src/miwear/device.rs:286
↓ 6 callers
Function
setValue
(value: boolean, key: string)
src/pages/settings/index.tsx:279
↓ 6 callers
Function
to_hex_string
(data: &[u8])
src-tauri/src/tools.rs:8
↓ 5 callers
Method
build_frame
( &self, channel: Channel, op: OpCode, payload: &[u8], )
src-tauri/src/miwear/device.rs:492
↓ 5 callers
Method
call_js
(&self, fn_name: &str, args: Vec<String>)
src-tauri/src/community/provider/jsplugin.rs:21
↓ 5 callers
Method
convert_url
(self, url: &str)
src-tauri/src/pluginstore/provider/official.rs:24
↓ 5 callers
Function
default_client
()
src-tauri/src/net.rs:11
↓ 5 callers
Method
disconnect
(&self)
src-tauri/src/bt/device.rs:170
↓ 5 callers
Function
hex_stream_to_bytes
(hex: &str)
src-tauri/src/tools.rs:12
↓ 5 callers
Function
isNav
(nav: string)
src/router/nav.ts:9
↓ 5 callers
Function
run_on_main_thread
---------- 把闭包封送到主线程并返回结果 ---------- */
src-tauri/plugins/btclassic-spp/src/macos/implementation.rs:34
↓ 5 callers
Method
set_plugin_data
(&mut self, name: &str, f: F)
src-tauri/src/pluginsystem/manager.rs:152
↓ 5 callers
Function
subscribe_disconnect
()
src-tauri/src/miwear.rs:29
↓ 4 callers
Function
disconnect_internal
(state: &mut GlobalState)
src-tauri/plugins/btclassic-spp/src/win/implementation.rs:813
↓ 4 callers
Function
getFilenameFromPath
(filePath: string)
src/filesystem/pathhelper.ts:1
↓ 4 callers
Function
installABP
(path: string)
src/device/install.ts:130
↓ 4 callers
Function
installResourceAction
(ctx: TaskActionContext, type: ResourceType, filePath: string)
src/taskqueue/installTask.ts:64
↓ 4 callers
Function
set_connected_device
(dev: Option<Arc<MiWearDevice>>)
src-tauri/src/miwear.rs:25
↓ 4 callers
Function
showInfo
(plugin: PluginManifest | null, local1: boolean = local)
src/pages/plugin/index.tsx:50
↓ 4 callers
Function
useInvokeWithMass
(massSending: boolean, config?: SWRConfiguration)
src/hooks/useInvoke.ts:17
↓ 4 callers
Function
uuid_contains
判断 UUID 中是否包含指定目标字符串 - `uuid`: 要检查的 UUID - `target`: 要查找的子串(如 "fe95") - `only_prefix`: 如果为 `true`,只检查第一个 '-' 前的部分;否则在整个 UUID 字符串中查找
src-tauri/src/tools.rs:32
↓ 3 callers
Function
addDownloadTask
(task: TaskItem)
src/taskqueue/queue.ts:11
↓ 3 callers
Function
addInstallTask
(task: TaskItem)
src/taskqueue/queue.ts:7
↓ 3 callers
Method
apply
src-tauri/gen/android/buildSrc/src/main/java/moe/astralsight/astrobox/kotlin/RustPlugin.kt:17
↓ 3 callers
Method
as_any
(&self)
src-tauri/src/community/provider/jsplugin.rs:72
↓ 3 callers
Function
attempt_connect
( device_addr: u64, service_guid: Option<GUID>, port_channel: Option<u32>, )
src-tauri/plugins/btclassic-spp/src/win/implementation.rs:413
↓ 3 callers
Method
build_download_url
将 repo_url + file_name 转换为下载文件的 raw 路径
src-tauri/src/community/provider/official.rs:152
↓ 3 callers
Function
calc_md5
(data: &[u8])
src-tauri/src/tools.rs:65
↓ 3 callers
Method
connect
------------ 连接 ------------ **/
src-tauri/plugins/btclassic-spp/android/src/main/java/BTSpp.kt:119
↓ 3 callers
Function
createDownloadTask
(id: string, name: string, provider: string, device: string, description: string, icon: React.ComponentType<an
src/taskqueue/downloadTask.ts:14
↓ 3 callers
Function
createThirdPartyAppInstallTask
(id: string, name: string, filePath: string)
src/taskqueue/installTask.ts:27
↓ 3 callers
Function
createWatchFaceInstallTask
(id: string, name: string, filePath: string)
src/taskqueue/installTask.ts:8
↓ 3 callers
Function
default_client_builder
()
src-tauri/src/net.rs:15
↓ 3 callers
Function
fetch
( _this: &JsValue, args: &[JsValue], ctx: &mut Context, )
src-tauri/src/pluginsystem/apis/network.rs:11
↓ 3 callers
Function
formatArgs
(args: any[])
src/log/logger.ts:9
↓ 3 callers
Method
get
(name: string)
src/pluginstore/manager.ts:109
↓ 3 callers
Method
getDocIdForFile
Get the document id given a file. This document id must be consistent across time as other applications may save the ID and use it to reference docume
src-tauri/gen/android/app/src/main/java/moe/astralsight/astrobox/AstroBoxDocumentsProvider.java:204
↓ 3 callers
Function
getLuminance
(r: number, g: number, b: number)
src/pages/community/product-info/product-info.tsx:411
↓ 3 callers
Method
getPage
(page: number, limit: number, search: SearchConfig)
src/community/provider.ts:33
↓ 3 callers
Method
get_device_map
(&self)
src-tauri/src/community/provider/official.rs:87
↓ 3 callers
Method
includeFile
Add a representation of a file to a cursor. @param result the cursor to modify @param docId the document ID representing the desired file (may be nu
src-tauri/gen/android/app/src/main/java/moe/astralsight/astrobox/AstroBoxDocumentsProvider.java:239
↓ 3 callers
Method
list
()
src/account/manager.ts:32
↓ 3 callers
Function
list_providers
()
src-tauri/src/community.rs:46
↓ 3 callers
Method
notify
()
src/account/manager.ts:9
↓ 3 callers
Function
onComplete
()
src/pages/device/switch.tsx:39
↓ 3 callers
Method
provider_name
(&self)
src-tauri/src/community/provider/jsplugin.rs:68
↓ 3 callers
Method
refresh
()
src/pluginstore/provider.ts:10
↓ 3 callers
Method
refreshAll
()
src/community/manager.ts:49
↓ 3 callers
Method
request
( &self, channel: Channel, op: OpCode, payload: &[u8], timeout: Option
src-tauri/src/miwear/device.rs:392
next →
1–100 of 791, ranked by callers