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

Function PluginInstallType

internal/pluginstore/registry.go:261–267  ·  view source on GitHub ↗
(plugin Plugin)

Source from the content-addressed store, hash-verified

259}
260
261func PluginInstallType(plugin Plugin) string {
262 installType := strings.ToLower(strings.TrimSpace(plugin.Install.Type))
263 if installType == "" {
264 return InstallTypeGitHubRelease
265 }
266 return installType
267}
268
269func NormalizeInstallPlan(plan InstallPlan) InstallPlan {
270 plan.Type = strings.ToLower(strings.TrimSpace(plan.Type))

Callers 14

ListPluginStoreMethod · 0.92
latestPluginVersionMethod · 0.92
PluginAuthConfiguredFunction · 0.70
InstallMethod · 0.70
ManifestFromPluginFunction · 0.70
ValidateRegistryFunction · 0.70
ValidatePluginFunction · 0.70
ValidatePluginVersionsFunction · 0.70

Calls

no outgoing calls

Tested by 1