chore: code cleanup

This commit is contained in:
wwqgtxx
2025-03-12 13:33:52 +08:00
parent 070eb3142b
commit 0ed159e41d
4 changed files with 12 additions and 31 deletions

View File

@@ -326,13 +326,6 @@ func (cp *CompatibleProvider) Close() error {
return cp.compatibleProvider.Close()
}
func proxiesOnUpdate(pd *proxySetProvider) func([]C.Proxy) {
return func(elm []C.Proxy) {
pd.setProxies(elm)
pd.version += 1
}
}
func NewProxiesParser(filter string, excludeFilter string, excludeType string, dialerProxy string, override OverrideSchema) (resource.Parser[[]C.Proxy], error) {
excludeFilterReg, err := regexp2.Compile(excludeFilter, regexp2.None)
if err != nil {