MCPcopy
hub / github.com/shadow1ng/fscan / Exists

Function Exists

plugins/init.go:156–162  ·  view source on GitHub ↗

Exists 检查插件是否存在

(name string)

Source from the content-addressed store, hash-verified

154
155// Exists 检查插件是否存在
156func Exists(name string) bool {
157 mutex.RLock()
158 defer mutex.RUnlock()
159
160 _, exists := plugins[name]
161 return exists
162}
163
164// GetPluginPorts 获取插件端口列表
165func GetPluginPorts(name string) []int {

Callers 4

ExecuteScanTasksFunction · 0.92
countApplicableTasksFunction · 0.92
ExecuteMethod · 0.92
pluginExistsMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected