MCPcopy Create free account

hub / github.com/clash-next/clash-verge / functions

Functions423 in github.com/clash-next/clash-verge

↓ 2 callersFunctiontruncateStr
(str?: string, prefixLen = 16, maxLen = 56)
src/utils/truncate-str.ts:1
↓ 2 callersMethodunregister
(&self, hotkey: &str)
src-tauri/src/core/hotkey.rs:99
↓ 2 callersFunctionupdateConfigs
(config: Partial<IConfigData>)
src/services/api.ts:53
↓ 2 callersFunctionupdateProfile
(index: string, option?: IProfileOption)
src/services/cmds.ts:67
↓ 2 callersFunctionupdateProxy
(group: string, proxy: string)
src/services/api.ts:80
↓ 2 callersMethodupdate_config
更新proxies那些 如果涉及端口和外部控制则需要重启
src-tauri/src/core/core.rs:295
↓ 2 callersFunctionuse_merge
(merge: Mapping, mut config: Mapping)
src-tauri/src/enhance/merge.rs:13
↓ 2 callersFunctionviewProfile
(index: string)
src/services/cmds.ts:48
↓ 1 callersFunctionNotice
(props)
src/components/base/base-notice.tsx:72
↓ 1 callersFunctionapp_resources_dir
get the resources dir
src-tauri/src/utils/dirs.rs:72
↓ 1 callersFunctionchangeClashCore
(clashCore: string)
src/services/cmds.ts:122
↓ 1 callersMethodcheckListDelay
(nameList: string[], group: string, concurrency = 36)
src/services/delay.ts:87
↓ 1 callersFunctioncheck_singleton
check whether there is already exists
src-tauri/src/utils/server.rs:11
↓ 1 callersFunctionclashMeta
()
scripts/check.mjs:91
↓ 1 callersFunctionclash_pid_path
()
src-tauri/src/utils/dirs.rs:119
↓ 1 callersMethodclear_log
(&self)
src-tauri/src/core/logger.rs:32
↓ 1 callersFunctioncmdGetProxyDelay
(name: string, url?: string)
src/services/cmds.ts:156
↓ 1 callersFunctionconnectHelper
()
src/hooks/use-websocket.ts:30
↓ 1 callersFunctioncontentLength
(filePath)
scripts/aarch.mjs:83
↓ 1 callersFunctioncopy_clash_env
copy env variable
src-tauri/src/feat.rs:335
↓ 1 callersFunctioncreateProfile
( item: Partial<IProfileItem>, fileData?: string | null )
src/services/cmds.ts:41
↓ 1 callersMethodcurrent_mapping
获取current指向的配置内容
src-tauri/src/config/profiles.rs:265
↓ 1 callersFunctiondelete_log
删除log文件
src-tauri/src/utils/init.rs:74
↓ 1 callersFunctiondisable_system_proxy
关闭系统代理
src-tauri/src/feat.rs:97
↓ 1 callersFunctiondisable_tun_mode
关闭tun模式
src-tauri/src/feat.rs:145
↓ 1 callersFunctiondrawGraph
(lastTime: number)
src/components/layout/traffic-graph.tsx:143
↓ 1 callersFunctionembed_server
The embed server only be used to implement singleton process maybe it can be used as pac server later
src-tauri/src/utils/server.rs:33
↓ 1 callersFunctionenable_system_proxy
打开系统代理
src-tauri/src/feat.rs:82
↓ 1 callersFunctionenable_tun_mode
打开tun模式
src-tauri/src/feat.rs:130
↓ 1 callersFunctionenhance
Enhance mode 返回最终配置、该配置包含的键、和script执行的结果
src-tauri/src/enhance/mod.rs:22
↓ 1 callersFunctionenhanceProfiles
()
src/services/cmds.ts:33
↓ 1 callersFunctionfilterSort
( proxies: IProxyItem[], groupName: string, filterText: string, sortType: ProxySortType )
src/components/proxy/use-filter-sort.ts:39
↓ 1 callersMethodgen_diff
generate the diff map for refresh
src-tauri/src/core/timer.rs:118
↓ 1 callersMethodgen_map
generate a uid -> update_interval map
src-tauri/src/core/timer.rs:98
↓ 1 callersFunctiongetClashInfo
()
src/services/cmds.ts:82
↓ 1 callersFunctiongetClashLogs
()
src/services/cmds.ts:5
↓ 1 callersFunctiongetConnections
()
src/services/api.ts:177
↓ 1 callersMethodgetDelay
(name: string, group: string)
src/services/delay.ts:48
↓ 1 callersFunctiongetProviders
()
src/services/api.ts:150
↓ 1 callersFunctiongetProxiesInner
()
src/services/api.ts:86
↓ 1 callersFunctiongetRuntimeYaml
()
src/services/cmds.ts:90
↓ 1 callersFunctiongetSystemProxy
()
src/services/cmds.ts:114
↓ 1 callersMethodgetUrl
(group: string)
src/services/delay.ts:19
↓ 1 callersMethodget_current
(&self)
src-tauri/src/config/profiles.rs:98
↓ 1 callersMethodget_log
(&self)
src-tauri/src/core/logger.rs:20
↓ 1 callersMethodget_log_level
获取日志等级
src-tauri/src/config/verge.rs:209
↓ 1 callersFunctionget_proxy_delay
GET /proxies/{name}/delay 获取代理延迟
src-tauri/src/core/clash_api.rs:47
↓ 1 callersFunctionget_windows_ver
Returns a tuple of (major, minor, buildnumber)
src-tauri/src/utils/winhelp.rs:34
↓ 1 callersFunctiongrantPermission
(core: string)
src/services/cmds.ts:130
↓ 1 callersFunctiongroupList
(list: T[], size: number)
src/components/proxy/use-render-list.ts:128
↓ 1 callersFunctionhandleChange
(item: string)
src/components/setting/mods/clash-field-viewer.tsx:40
↓ 1 callersFunctionhandleData
()
src/components/layout/traffic-graph.tsx:50
↓ 1 callersFunctionhandleVisibilityChange
()
src/hooks/use-visibility.ts:7
↓ 1 callersFunctionhandler
()
src/components/profile/profile-item.tsx:67
↓ 1 callersFunctionimportProfile
(url: string)
src/services/cmds.ts:60
↓ 1 callersFunctioninit_config
Initialize all the config files before tauri setup
src-tauri/src/utils/init.rs:141
↓ 1 callersMethodinit_launch
init the auto launch
src-tauri/src/core/sysopt.rs:140
↓ 1 callersFunctioninit_log
initialize this instance's log file
src-tauri/src/utils/init.rs:15
↓ 1 callersFunctioninit_portable_flag
()
src-tauri/src/utils/dirs.rs:27
↓ 1 callersMethodinit_sysproxy
init the sysproxy
src-tauri/src/core/sysopt.rs:45
↓ 1 callersFunctioninstallService
()
src/services/cmds.ts:174
↓ 1 callersMethodis_support
(&self, core: Option<&String>)
src-tauri/src/enhance/chain.rs:78
↓ 1 callersFunctiononBtnClose
()
src/components/base/base-notice.tsx:17
↓ 1 callersMethodon_system_tray_event
(app_handle: &AppHandle, event: SystemTrayEvent)
src-tauri/src/core/tray.rs:141
↓ 1 callersFunctionopen_dashboard
打开面板
src-tauri/src/feat.rs:16
↓ 1 callersFunctionparseColor
(text: string)
src/components/rule/rule-item.tsx:22
↓ 1 callersFunctionparseExpire
(expire?: number)
src/components/profile/profile-more.tsx:240
↓ 1 callersFunctionparseHotkey
(key: string)
src/utils/parse-hotkey.ts:23
↓ 1 callersFunctionparseUrl
(url?: string)
src/components/profile/profile-item.tsx:331
↓ 1 callersFunctionparse_log
缩短clash的日志
src-tauri/src/core/clash_api.rs:84
↓ 1 callersFunctionpatchCurrent
(value: Partial<IProfileItem>)
src/hooks/use-profiles.ts:20
↓ 1 callersFunctionpatchProfilesConfig
(profiles: IProfilesConfig)
src/services/cmds.ts:37
↓ 1 callersFunctionpatch_configs
PATCH /configs
src-tauri/src/core/clash_api.rs:30
↓ 1 callersFunctionproviderHealthCheck
(name: string)
src/services/api.ts:165
↓ 1 callersFunctionproviderUpdate
(name: string)
src/services/api.ts:172
↓ 1 callersFunctionput_configs
PUT /configs path 是绝对路径
src-tauri/src/core/clash_api.rs:10
↓ 1 callersFunctionreadProfileFile
(index: string)
src/services/cmds.ts:52
↓ 1 callersFunctionread_yaml
read data from yaml as struct T
src-tauri/src/utils/help.rs:8
↓ 1 callersMethodrecover_core
重启内核
src-tauri/src/core/core.rs:206
↓ 1 callersMethodrefresh
Correctly update all cron tasks
src-tauri/src/core/timer.rs:70
↓ 1 callersMethodremoveGroupListener
(group: string)
src/services/delay.ts:37
↓ 1 callersFunctionresolvePortable
()
scripts/portable.mjs:9
↓ 1 callersFunctionresolvePublish
()
scripts/publish.mjs:9
↓ 1 callersFunctionresolveUpdater
()
scripts/updater.mjs:11
↓ 1 callersFunctionresolve_setup
handle something when start app
src-tauri/src/utils/resolve.rs:7
↓ 1 callersFunctionrestart_clash_core
重启clash
src-tauri/src/feat.rs:25
↓ 1 callersFunctionrun_core_by_service
start the clash by service
src-tauri/src/core/win_service.rs:111
↓ 1 callersFunctionsaveProfileFile
(index: string, fileData: string)
src/services/cmds.ts:56
↓ 1 callersFunctionservice_log_file
()
src-tauri/src/utils/dirs.rs:139
↓ 1 callersMethodsetGroupListener
(group: string, listener: () => void)
src/services/delay.ts:33
↓ 1 callersMethodsetUrl
(group: string, url: string)
src/services/delay.ts:15
↓ 1 callersFunctionstop_core_by_service
stop the clash by service
src-tauri/src/core/win_service.rs:161
↓ 1 callersFunctionuninstallService
()
src/services/cmds.ts:178
↓ 1 callersMethodupdate
(&self, new_hotkeys: Vec<String>)
src-tauri/src/core/hotkey.rs:105
↓ 1 callersFunctionupdateOne
(uid: string)
src/pages/profiles.tsx:177
↓ 1 callersMethodupdate_item
be used to update the remote item only patch `updated` `extra` `file_data`
src-tauri/src/config/profiles.rs:181
↓ 1 callersMethodupdate_launch
update the startup
src-tauri/src/core/sysopt.rs:225
↓ 1 callersMethodupdate_sysproxy
update the system proxy
src-tauri/src/core/sysopt.rs:78
↓ 1 callersFunctionuploadAssets
(releaseId, assets)
scripts/aarch.mjs:79
↓ 1 callersFunctionuseClash
()
src/hooks/use-clash.ts:11
← previousnext →101–200 of 423, ranked by callers