MCPcopy Create free account
hub / github.com/celer-pkg/celer / contains

Method contains

buildtools/build_tools.go:288–296  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

286}
287
288func (b BuildTools) contains(name string) bool {
289 toolName, _ := b.parseNameVersion(name)
290 for _, tool := range b.BuildTools {
291 if tool.Name == toolName {
292 return true
293 }
294 }
295 return false
296}
297
298func (b BuildTools) merge(buildTools BuildTools) BuildTools {
299 for _, tool := range buildTools.BuildTools {

Callers 1

CheckToolsFunction · 0.95

Calls 1

parseNameVersionMethod · 0.95

Tested by

no test coverage detected