(version string)
| 41 | } |
| 42 | |
| 43 | func validPluginVersion(version string) bool { |
| 44 | return version != "" && !strings.HasPrefix(version, "v") && pluginVersionPattern.MatchString(version) |
| 45 | } |
| 46 | |
| 47 | func pluginIDFromPath(path string) string { |
| 48 | file, ok := pluginFileFromPath(path, "") |
no outgoing calls
no test coverage detected