chore: cleanup the patch code

This commit is contained in:
wwqgtxx 2024-09-12 11:19:40 +08:00
parent 4c3fe98ebd
commit e33d4a4769
4 changed files with 0 additions and 47 deletions

View File

@ -1,19 +0,0 @@
//go:build android && cmfa
package provider
import (
"time"
)
var (
suspended bool
)
type UpdatableProvider interface {
UpdatedAt() time.Time
}
func Suspend(s bool) {
suspended = s
}

View File

@ -6,8 +6,6 @@ import (
"github.com/metacubex/mihomo/component/resolver"
)
const SystemDNSPlaceholder = "system"
var systemResolver []dnsClient
func FlushCacheWithDefaultResolver() {

View File

@ -1,9 +0,0 @@
//go:build android && cmfa
package http
import "net"
func (l *Listener) Listener() net.Listener {
return l.listener
}

View File

@ -1,17 +0,0 @@
//go:build android && cmfa
package provider
import "time"
var (
suspended bool
)
type UpdatableProvider interface {
UpdatedAt() time.Time
}
func Suspend(s bool) {
suspended = s
}