MCPcopy Create free account

hub / github.com/aimy1/clash-xiaoy / functions

Functions1,745 in github.com/aimy1/clash-xiaoy

↓ 148 callersFunctioncn
(...classes: ClassValue[])
frontend/ui/src/utils/cn.ts:4
↓ 75 callersMethodas_str
(&self)
backend/tauri/src/core/tray/icon.rs:62
↓ 69 callersFunctionTAURI_INVOKE
(cmd: string, args?: any)
frontend/interface/src/ipc/bindings.ts:11
↓ 68 callersMethodlatest
get the current state, it will return the ManagedStateLocker for the state
backend/tauri/src/core/state.rs:103
↓ 61 callersFunctionuseSetting
(key: K)
frontend/interface/src/ipc/use-settings.ts:101
↓ 58 callersMethodas_ref
(&self)
backend/tauri/src/config/nyanpasu/mod.rs:134
↓ 52 callersFunctionalpha
(color: string, alpha: number)
frontend/ui/src/utils/color-mix.ts:1
↓ 47 callersFunctionmessage
( value: string, options?: string | MessageDialogOptions | undefined, )
frontend/clash-xiaoy/src/utils/notification.ts:66
↓ 46 callersMethoderror
(message: ReactNode, duration?: number)
frontend/clash-xiaoy/src/components/base/base-notice.tsx:65
↓ 45 callersMethodbuild
(self)
backend/tauri/src/utils/downloader.rs:103
↓ 42 callersMethodreplace
(&mut self, proxies: Proxies, checksum: u32)
backend/tauri/src/core/clash/proxies.rs:221
↓ 41 callersMethodas_ref
(&self)
backend/tauri/src/enhance/utils.rs:28
↓ 41 callersMethodupdate
(&self, new_hotkeys: Vec<String>)
backend/tauri/src/core/hotkey.rs:125
↓ 38 callersMethoddebug
`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 callersFunctionuseLockFn
( fn: LockFn<P, T>, )
frontend/clash-xiaoy/src/hooks/use-lock-fn.ts:12
↓ 37 callersMethodsuccess
(message: ReactNode, duration?: number)
frontend/clash-xiaoy/src/components/base/base-notice.tsx:66
↓ 34 callersFunctionparse
()
backend/tauri/src/cmds/mod.rs:57
↓ 33 callersMethoddata
Get the committed state
backend/tauri/src/core/state.rs:98
↓ 30 callersFunctionsleep
(ms: number)
frontend/clash-xiaoy/src/utils/index.ts:14
↓ 30 callersMethodstatus
get core state with state changed timestamp
backend/tauri/src/core/clash/core.rs:335
↓ 30 callersMethodwarn
(&mut self, msg: T)
backend/tauri/src/enhance/utils.rs:56
↓ 29 callersMethodupsert
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 callersMethodinfo
(message: ReactNode, duration?: number)
frontend/clash-xiaoy/src/components/base/base-notice.tsx:64
↓ 25 callersFunctionunwrapResult
(res: Result<T, E>)
frontend/interface/src/utils/index.ts:3
↓ 23 callersFunctionupsert
(value: IVerge[K])
frontend/interface/src/ipc/use-settings.ts:119
↓ 22 callersFunctionformatError
(err: unknown)
frontend/clash-xiaoy/src/utils/index.ts:32
↓ 21 callersFunctionapp_data_dir
()
backend/tauri/src/utils/dirs.rs:193
↓ 21 callersMethodtake
(&mut self)
backend/tauri/src/enhance/script/js.rs:68
↓ 20 callersMethodbuild
(self)
backend/tauri/src/core/updater/instance.rs:96
↓ 20 callersFunctioncreate_dir_all
(dir: &PathBuf)
backend/tauri/src/utils/dirs.rs:408
↓ 20 callersMethoddraft
You can modify the draft state, and then commit it
backend/tauri/src/core/state.rs:124
↓ 20 callersMethodlog
(&mut self, msg: T)
backend/tauri/src/enhance/utils.rs:50
↓ 20 callersMethoduid
(&self)
backend/tauri/src/config/profile/item/shared.rs:160
↓ 18 callersMethodquery
TODO: optimize query performance
backend/tauri/src/logging/indexer.rs:203
↓ 17 callersFunctionapp_config_dir
()
backend/tauri/src/utils/dirs.rs:155
↓ 13 callersFunctionparseTraffic
(num?: string | number)
frontend/clash-xiaoy/src/utils/parse-traffic.ts:3
↓ 12 callersMethodapply
commit the draft state, and make it the new state
backend/tauri/src/core/state.rs:143
↓ 12 callersMethodrun_core
启动核心
backend/tauri/src/core/clash/core.rs:446
↓ 12 callersMethodstart
(&self, widget: StatisticWidgetVariant)
backend/tauri/src/widget.rs:96
↓ 12 callersMethodupsert_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 callersFunctionuseClashConfig
()
frontend/interface/src/ipc/use-clash-config.ts:24
↓ 11 callersFunctionperform_request
(param: impl Into<PerformRequest<D, Q>>)
backend/tauri/src/core/clash/api.rs:357
↓ 11 callersFunctionuse_merge
(merge: &Mapping, mut config: Mapping)
backend/tauri/src/enhance/merge.rs:242
↓ 10 callersFunctionapp_profiles_dir
profiles dir
backend/tauri/src/utils/dirs.rs:298
↓ 10 callersFunctionfind_field
Key should be a.b.c to access the value
backend/tauri/src/enhance/merge.rs:27
↓ 10 callersMethodget_instance
get_instance get the raw storage instance
backend/tauri/src/core/tasks/storage.rs:181
↓ 10 callersFunctioninit
initial instance global logger
backend/tauri/src/utils/init/logging.rs:56
↓ 10 callersMethodlog
(&mut self, msg: LogMessage, console_state: &Console)
backend/boa_utils/src/console/mod.rs:62
↓ 10 callersFunctionuseProfile
(options?: { without_helper_fn?: boolean })
frontend/interface/src/ipc/use-profile.ts:82
↓ 9 callersFunctionapp_install_dir
App install dir, sidecars should placed here
backend/tauri/src/utils/dirs.rs:288
↓ 9 callersFunctioncleanDeepClickEvent
( e: Pick<MouseEvent, 'preventDefault' | 'stopPropagation'>, )
frontend/ui/src/utils/event.ts:1
↓ 9 callersMethoddispatch_event
(&self, state: DownloaderState)
backend/tauri/src/utils/downloader.rs:226
↓ 9 callersFunctiongetProxyAgent
()
scripts/utils/index.ts:55
↓ 9 callersMethodget_mixed_port
(&self)
backend/tauri/src/config/clash/mod.rs:78
↓ 9 callersMethodkind
(&self)
backend/tauri/src/config/profile/item/local.rs:57
↓ 9 callersFunctionprofiles_path
()
backend/tauri/src/utils/dirs.rs:325
↓ 9 callersFunctionsave_yaml
save the data to the file can set `prefix` string to add some comments
backend/tauri/src/utils/help.rs:61
↓ 9 callersMethodupsert
(&mut self, builder: Builder)
backend/tauri/src/core/state_v2/manager/persistent.rs:77
↓ 8 callersMethodauto_commit
to auto commit the state when it is dropped
backend/tauri/src/core/state.rs:49
↓ 8 callersMethodclear
(_: &JsValue, _: &[JsValue], console: &mut Self, _: &mut Context)
backend/boa_utils/src/console/mod.rs:341
↓ 8 callersMethoddispatch_state
(&self, state: UpdaterState)
backend/tauri/src/core/updater/instance.rs:153
↓ 8 callersFunctionformatter
This represents the `console` formatter.
backend/boa_utils/src/console/mod.rs:85
↓ 8 callersMethodget_item
find the item by the uid
backend/tauri/src/config/profile/profiles.rs:81
↓ 8 callersMethodlabel
(&self)
backend/tauri/src/utils/resolve.rs:221
↓ 8 callersMethodsidecar
(binInfo: BinInfo | PromiseLike<BinInfo>)
scripts/utils/resolve.ts:184
↓ 8 callersMethodspan
(&mut self, span: LogSpan, msg: T)
backend/tauri/src/enhance/utils.rs:47
↓ 8 callersFunctionuseClashAPI
()
frontend/interface/src/service/clash-api.ts:70
↓ 7 callersFunctionapp_logs_dir
logs dir
backend/tauri/src/utils/dirs.rs:308
↓ 7 callersMethodcreate
Create window with default implementation
backend/tauri/src/window.rs:37
↓ 7 callersFunctioncreate_main_window
(app_handle: &AppHandle)
backend/tauri/src/utils/resolve.rs:247
↓ 7 callersMethodcurrent_state
(&self)
backend/tauri/src/core/state_v2/manager/persistent.rs:73
↓ 7 callersMethodfile
(&self)
backend/tauri/src/config/profile/item/mod.rs:113
↓ 7 callersFunctionforward_val
(context: &mut Context, source: &str)
backend/boa_utils/src/lib.rs:139
↓ 7 callersFunctiongetSystem
()
frontend/ui/src/hooks/get-system.ts:18
↓ 7 callersMethodget_client_info
(&self)
backend/tauri/src/config/clash/mod.rs:82
↓ 7 callersFunctionlisten
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 callersFunctionlogger
Helper function for logging messages.
backend/boa_utils/src/console/mod.rs:37
↓ 7 callersFunctionnyanpasu_config_path
()
backend/tauri/src/utils/dirs.rs:321
↓ 7 callersFunctionopenThat
(path: string)
frontend/interface/src/ipc/bindings.ts:669
↓ 7 callersMethodpatch_config
这里只更改 allow-lan | ipv6 | log-level | mode
backend/tauri/src/config/runtime.rs:33
↓ 7 callersFunctionpatch_verge
修改verge的配置 一般都是一个个的修改
backend/tauri/src/feat.rs:294
↓ 7 callersFunctionrun_test_actions
(actions: impl IntoIterator<Item = TestAction>)
backend/boa_utils/src/lib.rs:126
↓ 7 callersMethodsave_file
Save IVerge App Config
backend/tauri/src/config/nyanpasu/mod.rs:421
↓ 7 callersFunctionthat
(path: T)
backend/tauri/src/utils/open.rs:3
↓ 7 callersFunctionuseClashConnections
()
frontend/interface/src/ipc/use-clash-connections.ts:46
↓ 6 callersMethodbuild_index
(&mut self)
backend/tauri/src/logging/indexer.rs:339
↓ 6 callersFunctioncache_dir
()
backend/tauri/src/utils/dirs.rs:337
↓ 6 callersMethodclose
Close window with default implementation
backend/tauri/src/window.rs:222
↓ 6 callersFunctiondelete_connections
(id: Option<&str>)
backend/tauri/src/core/clash/api.rs:463
↓ 6 callersFunctiongetGithubUrl
(url: string)
scripts/utils/index.ts:7
↓ 6 callersFunctiongetSignature
(url: string)
scripts/updater.ts:266
↓ 6 callersFunctiongetSignature
(url: string)
scripts/updater-nightly.ts:303
↓ 6 callersMethodinner
(&self)
backend/tauri/src/core/clash/proxies.rs:241
↓ 6 callersFunctionisMatch
(name: string, extension: string, arch: string)
scripts/updater.ts:86
↓ 6 callersFunctionisMatch
(name: string, extension: string, arch: string)
scripts/updater-nightly.ts:106
↓ 6 callersFunctionmappingArch
(platform: NodeJS.Platform, arch: NodeArch)
scripts/utils/resource.ts:21
↓ 6 callersFunctionmove_file_if_absent
(src: &PathBuf, dst: &PathBuf)
backend/tauri/src/utils/dirs.rs:60
↓ 6 callersMethodname
(&self)
backend/tauri/src/core/migration/mod.rs:136
↓ 6 callersFunctionnotification
({ title, body, type = NotificationType.Info, }: NotificationOptions)
frontend/clash-xiaoy/src/utils/notification.ts:41
↓ 6 callersFunctiononClick
()
frontend/clash-xiaoy/src/components/connections/connections-table.tsx:175
next →1–100 of 1,745, ranked by callers