MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / callExecutorIdentifier

Method callExecutorIdentifier

internal/pluginhost/adapters.go:981–993  ·  view source on GitHub ↗
(pluginID string, executor pluginapi.ProviderExecutor)

Source from the content-addressed store, hash-verified

979}
980
981func (h *Host) callExecutorIdentifier(pluginID string, executor pluginapi.ProviderExecutor) (provider string, ok bool) {
982 if h == nil || executor == nil || h.isPluginFused(pluginID) {
983 return "", false
984 }
985 defer func() {
986 if recovered := recover(); recovered != nil {
987 h.fusePlugin(pluginID, "Executor.Identifier", recovered)
988 provider = ""
989 ok = false
990 }
991 }()
992 return executor.Identifier(), true
993}
994
995func (h *Host) providerHasNativeExecutor(manager executorManager, provider string) bool {
996 if h == nil || manager == nil {

Callers 1

executorProviderMethod · 0.95

Calls 3

isPluginFusedMethod · 0.95
fusePluginMethod · 0.95
IdentifierMethod · 0.65

Tested by

no test coverage detected