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

Function validPluginID

internal/pluginstore/registry.go:411–413  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

409}
410
411func validPluginID(id string) bool {
412 return pluginIDPattern.MatchString(id)
413}
414
415func GitHubRepositoryParts(repository string) (string, string, error) {
416 repository = strings.TrimSpace(repository)

Callers 5

InstallDirectMethod · 0.70
InstallArchiveFunction · 0.70
pluginFileInfoFromPathFunction · 0.70
validateManifestPluginIDFunction · 0.70
ValidatePluginFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected