Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aimy1/clash-xiaoy
/ functions
Functions
1,745 in github.com/aimy1/clash-xiaoy
⨍
Functions
1,745
◇
Types & classes
352
↓ 148 callers
Function
cn
(...classes: ClassValue[])
frontend/ui/src/utils/cn.ts:4
↓ 75 callers
Method
as_str
(&self)
backend/tauri/src/core/tray/icon.rs:62
↓ 69 callers
Function
TAURI_INVOKE
(cmd: string, args?: any)
frontend/interface/src/ipc/bindings.ts:11
↓ 68 callers
Method
latest
get the current state, it will return the ManagedStateLocker for the state
backend/tauri/src/core/state.rs:103
↓ 61 callers
Function
useSetting
(key: K)
frontend/interface/src/ipc/use-settings.ts:101
↓ 58 callers
Method
as_ref
(&self)
backend/tauri/src/config/nyanpasu/mod.rs:134
↓ 52 callers
Function
alpha
(color: string, alpha: number)
frontend/ui/src/utils/color-mix.ts:1
↓ 47 callers
Function
message
( value: string, options?: string | MessageDialogOptions | undefined, )
frontend/clash-xiaoy/src/utils/notification.ts:66
↓ 46 callers
Method
error
(message: ReactNode, duration?: number)
frontend/clash-xiaoy/src/components/base/base-notice.tsx:65
↓ 45 callers
Method
build
(self)
backend/tauri/src/utils/downloader.rs:103
↓ 42 callers
Method
replace
(&mut self, proxies: Proxies, checksum: u32)
backend/tauri/src/core/clash/proxies.rs:221
↓ 41 callers
Method
as_ref
(&self)
backend/tauri/src/enhance/utils.rs:28
↓ 41 callers
Method
update
(&self, new_hotkeys: Vec<String>)
backend/tauri/src/core/hotkey.rs:125
↓ 38 callers
Method
debug
`console.debug(...data)` Prints a JavaScript values with "debug" logLevel. More information: - [MDN documentation][mdn] - [WHATWG `console` specific
backend/boa_utils/src/console/mod.rs:356
↓ 38 callers
Function
useLockFn
( fn: LockFn<P, T>, )
frontend/clash-xiaoy/src/hooks/use-lock-fn.ts:12
↓ 37 callers
Method
success
(message: ReactNode, duration?: number)
frontend/clash-xiaoy/src/components/base/base-notice.tsx:66
↓ 34 callers
Function
parse
()
backend/tauri/src/cmds/mod.rs:57
↓ 33 callers
Method
data
Get the committed state
backend/tauri/src/core/state.rs:98
↓ 30 callers
Function
sleep
(ms: number)
frontend/clash-xiaoy/src/utils/index.ts:14
↓ 30 callers
Method
status
get core state with state changed timestamp
backend/tauri/src/core/clash/core.rs:335
↓ 30 callers
Method
warn
(&mut self, msg: T)
backend/tauri/src/enhance/utils.rs:56
↓ 29 callers
Method
upsert
Upsert the state by a builder, it was used for a builder was patched for upsert.
backend/tauri/src/core/state_v2/coordinator.rs:119
↓ 26 callers
Method
info
(message: ReactNode, duration?: number)
frontend/clash-xiaoy/src/components/base/base-notice.tsx:64
↓ 25 callers
Function
unwrapResult
(res: Result<T, E>)
frontend/interface/src/utils/index.ts:3
↓ 23 callers
Function
upsert
(value: IVerge[K])
frontend/interface/src/ipc/use-settings.ts:119
↓ 22 callers
Function
formatError
(err: unknown)
frontend/clash-xiaoy/src/utils/index.ts:32
↓ 21 callers
Function
app_data_dir
()
backend/tauri/src/utils/dirs.rs:193
↓ 21 callers
Method
take
(&mut self)
backend/tauri/src/enhance/script/js.rs:68
↓ 20 callers
Method
build
(self)
backend/tauri/src/core/updater/instance.rs:96
↓ 20 callers
Function
create_dir_all
(dir: &PathBuf)
backend/tauri/src/utils/dirs.rs:408
↓ 20 callers
Method
draft
You can modify the draft state, and then commit it
backend/tauri/src/core/state.rs:124
↓ 20 callers
Method
log
(&mut self, msg: T)
backend/tauri/src/enhance/utils.rs:50
↓ 20 callers
Method
uid
(&self)
backend/tauri/src/config/profile/item/shared.rs:160
↓ 18 callers
Method
query
TODO: optimize query performance
backend/tauri/src/logging/indexer.rs:203
↓ 17 callers
Function
app_config_dir
()
backend/tauri/src/utils/dirs.rs:155
↓ 13 callers
Function
parseTraffic
(num?: string | number)
frontend/clash-xiaoy/src/utils/parse-traffic.ts:3
↓ 12 callers
Method
apply
commit the draft state, and make it the new state
backend/tauri/src/core/state.rs:143
↓ 12 callers
Method
run_core
启动核心
backend/tauri/src/core/clash/core.rs:446
↓ 12 callers
Method
start
(&self, widget: StatisticWidgetVariant)
backend/tauri/src/widget.rs:96
↓ 12 callers
Method
upsert_state
Upsert the state directly, it used for a small StateObject, a bool value, etc.
backend/tauri/src/core/state_v2/coordinator.rs:138
↓ 12 callers
Function
useClashConfig
()
frontend/interface/src/ipc/use-clash-config.ts:24
↓ 11 callers
Function
perform_request
(param: impl Into<PerformRequest<D, Q>>)
backend/tauri/src/core/clash/api.rs:357
↓ 11 callers
Function
use_merge
(merge: &Mapping, mut config: Mapping)
backend/tauri/src/enhance/merge.rs:242
↓ 10 callers
Function
app_profiles_dir
profiles dir
backend/tauri/src/utils/dirs.rs:298
↓ 10 callers
Function
find_field
Key should be a.b.c to access the value
backend/tauri/src/enhance/merge.rs:27
↓ 10 callers
Method
get_instance
get_instance get the raw storage instance
backend/tauri/src/core/tasks/storage.rs:181
↓ 10 callers
Function
init
initial instance global logger
backend/tauri/src/utils/init/logging.rs:56
↓ 10 callers
Method
log
(&mut self, msg: LogMessage, console_state: &Console)
backend/boa_utils/src/console/mod.rs:62
↓ 10 callers
Function
useProfile
(options?: { without_helper_fn?: boolean })
frontend/interface/src/ipc/use-profile.ts:82
↓ 9 callers
Function
app_install_dir
App install dir, sidecars should placed here
backend/tauri/src/utils/dirs.rs:288
↓ 9 callers
Function
cleanDeepClickEvent
( e: Pick<MouseEvent, 'preventDefault' | 'stopPropagation'>, )
frontend/ui/src/utils/event.ts:1
↓ 9 callers
Method
dispatch_event
(&self, state: DownloaderState)
backend/tauri/src/utils/downloader.rs:226
↓ 9 callers
Function
getProxyAgent
()
scripts/utils/index.ts:55
↓ 9 callers
Method
get_mixed_port
(&self)
backend/tauri/src/config/clash/mod.rs:78
↓ 9 callers
Method
kind
(&self)
backend/tauri/src/config/profile/item/local.rs:57
↓ 9 callers
Function
profiles_path
()
backend/tauri/src/utils/dirs.rs:325
↓ 9 callers
Function
save_yaml
save the data to the file can set `prefix` string to add some comments
backend/tauri/src/utils/help.rs:61
↓ 9 callers
Method
upsert
(&mut self, builder: Builder)
backend/tauri/src/core/state_v2/manager/persistent.rs:77
↓ 8 callers
Method
auto_commit
to auto commit the state when it is dropped
backend/tauri/src/core/state.rs:49
↓ 8 callers
Method
clear
(_: &JsValue, _: &[JsValue], console: &mut Self, _: &mut Context)
backend/boa_utils/src/console/mod.rs:341
↓ 8 callers
Method
dispatch_state
(&self, state: UpdaterState)
backend/tauri/src/core/updater/instance.rs:153
↓ 8 callers
Function
formatter
This represents the `console` formatter.
backend/boa_utils/src/console/mod.rs:85
↓ 8 callers
Method
get_item
find the item by the uid
backend/tauri/src/config/profile/profiles.rs:81
↓ 8 callers
Method
label
(&self)
backend/tauri/src/utils/resolve.rs:221
↓ 8 callers
Method
sidecar
(binInfo: BinInfo | PromiseLike<BinInfo>)
scripts/utils/resolve.ts:184
↓ 8 callers
Method
span
(&mut self, span: LogSpan, msg: T)
backend/tauri/src/enhance/utils.rs:47
↓ 8 callers
Function
useClashAPI
()
frontend/interface/src/service/clash-api.ts:70
↓ 7 callers
Function
app_logs_dir
logs dir
backend/tauri/src/utils/dirs.rs:308
↓ 7 callers
Method
create
Create window with default implementation
backend/tauri/src/window.rs:37
↓ 7 callers
Function
create_main_window
(app_handle: &AppHandle)
backend/tauri/src/utils/resolve.rs:247
↓ 7 callers
Method
current_state
(&self)
backend/tauri/src/core/state_v2/manager/persistent.rs:73
↓ 7 callers
Method
file
(&self)
backend/tauri/src/config/profile/item/mod.rs:113
↓ 7 callers
Function
forward_val
(context: &mut Context, source: &str)
backend/boa_utils/src/lib.rs:139
↓ 7 callers
Function
getSystem
()
frontend/ui/src/hooks/get-system.ts:18
↓ 7 callers
Method
get_client_info
(&self)
backend/tauri/src/config/clash/mod.rs:82
↓ 7 callers
Function
listen
Starts the event listener without registering any schemes. ## Platform-specific: - **macOS**: This function can only be called once on macOS.
backend/tauri-plugin-deep-link/src/lib.rs:42
↓ 7 callers
Function
logger
Helper function for logging messages.
backend/boa_utils/src/console/mod.rs:37
↓ 7 callers
Function
nyanpasu_config_path
()
backend/tauri/src/utils/dirs.rs:321
↓ 7 callers
Function
openThat
(path: string)
frontend/interface/src/ipc/bindings.ts:669
↓ 7 callers
Method
patch_config
这里只更改 allow-lan | ipv6 | log-level | mode
backend/tauri/src/config/runtime.rs:33
↓ 7 callers
Function
patch_verge
修改verge的配置 一般都是一个个的修改
backend/tauri/src/feat.rs:294
↓ 7 callers
Function
run_test_actions
(actions: impl IntoIterator<Item = TestAction>)
backend/boa_utils/src/lib.rs:126
↓ 7 callers
Method
save_file
Save IVerge App Config
backend/tauri/src/config/nyanpasu/mod.rs:421
↓ 7 callers
Function
that
(path: T)
backend/tauri/src/utils/open.rs:3
↓ 7 callers
Function
useClashConnections
()
frontend/interface/src/ipc/use-clash-connections.ts:46
↓ 6 callers
Method
build_index
(&mut self)
backend/tauri/src/logging/indexer.rs:339
↓ 6 callers
Function
cache_dir
()
backend/tauri/src/utils/dirs.rs:337
↓ 6 callers
Method
close
Close window with default implementation
backend/tauri/src/window.rs:222
↓ 6 callers
Function
delete_connections
(id: Option<&str>)
backend/tauri/src/core/clash/api.rs:463
↓ 6 callers
Function
getGithubUrl
(url: string)
scripts/utils/index.ts:7
↓ 6 callers
Function
getSignature
(url: string)
scripts/updater.ts:266
↓ 6 callers
Function
getSignature
(url: string)
scripts/updater-nightly.ts:303
↓ 6 callers
Method
inner
(&self)
backend/tauri/src/core/clash/proxies.rs:241
↓ 6 callers
Function
isMatch
(name: string, extension: string, arch: string)
scripts/updater.ts:86
↓ 6 callers
Function
isMatch
(name: string, extension: string, arch: string)
scripts/updater-nightly.ts:106
↓ 6 callers
Function
mappingArch
(platform: NodeJS.Platform, arch: NodeArch)
scripts/utils/resource.ts:21
↓ 6 callers
Function
move_file_if_absent
(src: &PathBuf, dst: &PathBuf)
backend/tauri/src/utils/dirs.rs:60
↓ 6 callers
Method
name
(&self)
backend/tauri/src/core/migration/mod.rs:136
↓ 6 callers
Function
notification
({ title, body, type = NotificationType.Info, }: NotificationOptions)
frontend/clash-xiaoy/src/utils/notification.ts:41
↓ 6 callers
Function
onClick
()
frontend/clash-xiaoy/src/components/connections/connections-table.tsx:175
next →
1–100 of 1,745, ranked by callers