perf: 删除无用函数

This commit is contained in:
ZacharyZcR 2025-05-05 02:24:37 +08:00
parent e58a48ba9b
commit 2b4a4024b8

View File

@ -3,7 +3,6 @@ package Core
import ( import (
"fmt" "fmt"
"github.com/shadow1ng/fscan/Common" "github.com/shadow1ng/fscan/Common"
"sort"
"strings" "strings"
) )
@ -57,15 +56,3 @@ func validateScanPlugins() error {
return nil return nil
} }
// 根据类型获取插件列表
func GetPluginsByType(typeName string) []string {
var result []string
for name, plugin := range Common.PluginManager {
if plugin.HasType(typeName) {
result = append(result, name)
}
}
sort.Strings(result)
return result
}