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

Function validPluginFileVersion

internal/homeplugins/sync.go:466–473  ·  view source on GitHub ↗
(version string)

Source from the content-addressed store, hash-verified

464}
465
466func validPluginFileVersion(version string) bool {
467 version = strings.TrimSpace(version)
468 if version == "" || strings.HasPrefix(version, "v") {
469 return false
470 }
471 first := version[0]
472 return first >= '0' && first <= '9'
473}
474
475func MarkLoadResults(report *SyncReport, inspector PluginLoadInspector) error {
476 if report == nil {

Callers 1

pluginFileFromPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected