MCPcopy Create free account

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

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

↓ 36 callersMethoderror
(message: ReactNode, duration?: number)
src/components/base/base-notice.tsx:65
↓ 18 callersFunctionclash
()
scripts/check.mjs:55
↓ 17 callersFunctionpatchVerge
(value: Partial<IVergeConfig>)
src/hooks/use-verge.ts:10
↓ 16 callersMethodsuccess
(message: ReactNode, duration?: number)
src/components/base/base-notice.tsx:66
↓ 16 callersFunctionuseVerge
()
src/hooks/use-verge.ts:4
↓ 15 callersFunctiongetAxios
(force: boolean = false)
src/services/api.ts:8
↓ 15 callersFunctionparseTraffic
(num?: number)
src/utils/parse-traffic.ts:3
↓ 11 callersFunctionapp_home_dir
get the verge app home dir
src-tauri/src/utils/dirs.rs:44
↓ 9 callersMethodget_item
find the item by the uid
src-tauri/src/config/profiles.rs:108
↓ 9 callersFunctionpath_to_str
(path: &PathBuf)
src-tauri/src/utils/dirs.rs:153
↓ 8 callersMethodget_window
(&self)
src-tauri/src/core/handle.rs:27
↓ 8 callersFunctionrenderItem
(label: string, key: ThemeKey)
src/components/setting/mods/theme-viewer.tsx:58
↓ 7 callersFunctionapp_profiles_dir
profiles dir
src-tauri/src/utils/dirs.rs:89
↓ 7 callersFunctionpatchProfiles
(value: Partial<IProfilesConfig>)
src/hooks/use-profiles.ts:15
↓ 6 callersFunctionfnWrapper
(fn: () => void)
src/components/profile/profile-more.tsx:75
↓ 6 callersFunctionpatch_verge
修改verge的配置 一般都是一个个的修改
src-tauri/src/feat.rs:215
↓ 6 callersFunctionresolveResource
* download the file to the resources dir
scripts/check.mjs:224
↓ 6 callersFunctionuseClashInfo
()
src/hooks/use-clash.ts:43
↓ 6 callersFunctionuse_filter
(config: Mapping, filter: &Vec<String>, enable: bool)
src-tauri/src/enhance/field.rs:77
↓ 5 callersFunctionchange_clash_mode
切换模式 rule/global/direct/script mode
src-tauri/src/feat.rs:41
↓ 5 callersFunctioncreate_window
create main window
src-tauri/src/utils/resolve.rs:49
↓ 5 callersFunctiondisconnect
()
src/hooks/use-websocket.ts:15
↓ 5 callersMethodgetDelayFix
(proxy: IProxyItem, group: string)
src/services/delay.ts:59
↓ 5 callersFunctionget_uid
generate the uid
src-tauri/src/utils/help.rs:62
↓ 5 callersFunctionjoin
(p)
scripts/aarch.mjs:45
↓ 5 callersFunctiononChangeData
(patch: Partial<IVergeConfig>)
src/components/setting/setting-system.tsx:49
↓ 5 callersMethodrun_core
启动核心
src-tauri/src/core/core.rs:83
↓ 5 callersFunctionsave_yaml
save the data to the file can set `prefix` string to add some comments
src-tauri/src/utils/help.rs:41
↓ 4 callersFunctiongetSignature
(url)
scripts/updater.mjs:168
↓ 4 callersFunctiongetSystem
()
src/utils/get-system.ts:3
↓ 4 callersMethodget_client_info
(&self)
src-tauri/src/config/clash.rs:76
↓ 4 callersFunctionhandleChange
(field: keyof typeof theme)
src/components/setting/mods/theme-viewer.tsx:38
↓ 4 callersFunctionhashKey
(name: string, group: string)
src/services/delay.ts:3
↓ 4 callersFunctionparse_check_output
缩短clash -t的错误输出 仅适配 clash p核 8-26、clash meta 1.13.1
src-tauri/src/core/clash_api.rs:96
↓ 4 callersFunctionparse_str
parse the string xxx=123123; => 123123
src-tauri/src/utils/help.rs:69
↓ 4 callersMethodpatch_config
(&mut self, patch: Mapping)
src-tauri/src/config/clash.rs:58
↓ 4 callersFunctionresolve
()
scripts/aarch.mjs:19
↓ 4 callersFunctionresolveSidecar
* download sidecar and rename
scripts/check.mjs:111
↓ 4 callersMethodsave_file
(&self)
src-tauri/src/config/profiles.rs:64
↓ 4 callersFunctionsave_window_size_position
save window size and position
src-tauri/src/utils/resolve.rs:159
↓ 4 callersMethodset_log
(&self, text: String)
src-tauri/src/core/logger.rs:24
↓ 4 callersFunctionuseProfiles
()
src/hooks/use-profiles.ts:9
↓ 4 callersFunctionuseWebsocket
(onMessage: WsMsgFn, options?: WsOptions)
src/hooks/use-websocket.ts:11
↓ 3 callersFunctionapp_logs_dir
logs dir
src-tauri/src/utils/dirs.rs:94
↓ 3 callersMethodcheckDelay
(name: string, group: string)
src/services/delay.ts:72
↓ 3 callersFunctionclash_client_info
根据clash info获取clash服务地址和请求头
src-tauri/src/core/clash_api.rs:67
↓ 3 callersFunctioncloseAllConnections
()
src/services/api.ts:190
↓ 3 callersFunctionconnect
(url: string)
src/hooks/use-websocket.ts:25
↓ 3 callersFunctiondeleteConnection
(id: string)
src/services/api.ts:184
↓ 3 callersFunctiondownloadFile
* download file and save to `path`
scripts/check.mjs:241
↓ 3 callersFunctiongenerateItem
(name: string)
src/services/api.ts:107
↓ 3 callersMethodget_manager
(&self)
src-tauri/src/core/hotkey.rs:63
↓ 3 callersMethodget_mixed_port
(&self)
src-tauri/src/config/clash.rs:72
↓ 3 callersMethodguard_proxy
launch a system proxy guard read config from file directly
src-tauri/src/core/sysopt.rs:246
↓ 3 callersFunctiononChangeData
(patch: Partial<IConfigData>)
src/components/setting/setting-clash.tsx:45
↓ 3 callersFunctiononChangeData
(patch: Partial<IVergeConfig>)
src/components/setting/mods/layout-viewer.tsx:24
↓ 3 callersFunctiononClose
()
src/components/connection/connection-detail.tsx:26
↓ 3 callersFunctionparseExpire
(expire?: number)
src/components/profile/profile-item.tsx:338
↓ 3 callersFunctionpatchClashConfig
(payload: Partial<IConfigData>)
src/services/cmds.ts:102
↓ 3 callersFunctionpatchProfile
( index: string, profile: Partial<IProfileItem> )
src/services/cmds.ts:75
↓ 3 callersFunctionpatchVergeConfig
(payload: IVergeConfig)
src/services/cmds.ts:110
↓ 3 callersFunctionread_merge_mapping
read mapping from yaml fix #165
src-tauri/src/utils/help.rs:25
↓ 3 callersFunctionupdate_core_config
更新配置
src-tauri/src/feat.rs:320
↓ 3 callersFunctionuse_keys
(config: &Mapping)
src-tauri/src/enhance/field.rs:145
↓ 3 callersFunctionuse_lowercase
(config: Mapping)
src-tauri/src/enhance/field.rs:94
↓ 3 callersFunctionuse_script
(script: String, config: Mapping)
src-tauri/src/enhance/script.rs:5
↓ 3 callersFunctionverge_path
()
src-tauri/src/utils/dirs.rs:102
↓ 2 callersFunctionactivateSelected
()
src/hooks/use-profiles.ts:28
↓ 2 callersMethodcheck_config
检查配置是否正确
src-tauri/src/core/core.rs:55
↓ 2 callersFunctioncheck_service
check the windows service status
src-tauri/src/core/win_service.rs:94
↓ 2 callersFunctionclashS3
()
scripts/check.mjs:73
↓ 2 callersFunctionclash_path
()
src-tauri/src/utils/dirs.rs:98
↓ 2 callersFunctioncountY
(v: number)
src/components/layout/traffic-graph.tsx:91
↓ 2 callersFunctiondeleteProfile
(index: string)
src/services/cmds.ts:71
↓ 2 callersFunctiondrawBezier
(list: number[], offset: number)
src/components/layout/traffic-graph.tsx:105
↓ 2 callersFunctiondrawLine
(list: number[], offset: number)
src/components/layout/traffic-graph.tsx:129
↓ 2 callersFunctionfilterProxies
* filter the proxy * according to the regular conditions
src/components/proxy/use-filter-sort.ts:60
↓ 2 callersMethodformatDelay
(delay: number)
src/services/delay.ts:111
↓ 2 callersMethodformatDelayColor
(delay: number)
src/services/delay.ts:118
↓ 2 callersFunctiongetProfiles
()
src/services/cmds.ts:29
↓ 2 callersFunctiongetProxies
()
src/services/api.ts:93
↓ 2 callersMethodget_items
get items ref
src-tauri/src/config/profiles.rs:103
↓ 2 callersMethodinit
(&self)
src-tauri/src/core/core.rs:30
↓ 2 callersFunctiononChangeData
(patch: Partial<IVergeConfig>)
src/components/setting/setting-verge.tsx:41
↓ 2 callersFunctionopenWebUrl
(url: string)
src/services/cmds.ts:152
↓ 2 callersFunctionpatchInfo
( patch: Partial< Pick<IConfigData, "mixed-port" | "external-controller" | "secret"> > )
src/hooks/use-clash.ts:49
↓ 2 callersFunctionprofiles_path
()
src-tauri/src/utils/dirs.rs:106
↓ 2 callersMethodremoveListener
(name: string, group: string)
src/services/delay.ts:28
↓ 2 callersFunctionresolveUpdateLog
(tag)
scripts/updatelog.mjs:7
↓ 2 callersFunctionresolve_reset
reset system proxy
src-tauri/src/utils/resolve.rs:43
↓ 2 callersFunctionrestartSidecar
()
src/services/cmds.ts:126
↓ 2 callersFunctionrunTask
()
scripts/check.mjs:314
↓ 2 callersMethodsave_config
(&self)
src-tauri/src/config/clash.rs:64
↓ 2 callersMethodsave_file
Save IVerge App Config
src-tauri/src/config/verge.rs:150
↓ 2 callersFunctionservice_path
()
src-tauri/src/utils/dirs.rs:129
↓ 2 callersMethodsetDelay
(name: string, group: string, delay: number)
src/services/delay.ts:41
↓ 2 callersMethodsetListener
(name: string, group: string, listener: (time: number) => void)
src/services/delay.ts:23
↓ 2 callersFunctionsortProxies
* sort the proxy
src/components/proxy/use-filter-sort.ts:100
↓ 2 callersFunctiontoggle_system_proxy
切换系统代理
src-tauri/src/feat.rs:64
↓ 2 callersFunctiontoggle_tun_mode
切换tun模式
src-tauri/src/feat.rs:112
next →1–100 of 423, ranked by callers