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

Function ValidatePluginID

internal/pluginhost/platform.go:35–37  ·  view source on GitHub ↗

ValidatePluginID reports whether id can be used as a plugin configuration key.

(id string)

Source from the content-addressed store, hash-verified

33
34// ValidatePluginID reports whether id can be used as a plugin configuration key.
35func ValidatePluginID(id string) bool {
36 return validPluginID(id)
37}
38
39func validPluginID(id string) bool {
40 return pluginIDPattern.MatchString(id)

Callers 1

pluginIDFromRequestFunction · 0.92

Calls 1

validPluginIDFunction · 0.70

Tested by

no test coverage detected