MCPcopy Create free account
hub / github.com/opencloud-eu/opencloud / contains

Function contains

services/postprocessing/pkg/config/parser/parse.go:53–60  ·  view source on GitHub ↗
(all []string, candidate events.Postprocessingstep)

Source from the content-addressed store, hash-verified

51}
52
53func contains(all []string, candidate events.Postprocessingstep) bool {
54 for _, s := range all {
55 if s == string(candidate) {
56 return true
57 }
58 }
59 return false
60}

Callers 1

ValidateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected