MCPcopy Index your code
hub / github.com/cloudfoundry/java-buildpack / HasTag

Method HasTag

src/java/common/context.go:213–220  ·  view source on GitHub ↗

HasTag checks if this service has the specified tag

(tag string)

Source from the content-addressed store, hash-verified

211
212// HasTag checks if this service has the specified tag
213func (s *VCAPService) HasTag(tag string) bool {
214 for _, t := range s.Tags {
215 if t == tag {
216 return true
217 }
218 }
219 return false
220}
221
222// ContainsIgnoreCase checks if string s contains substr (case-insensitive)
223// This is a utility function used by frameworks for flexible matching

Callers 15

DetectMethod · 0.45
hasServiceBindingMethod · 0.45
DetectMethod · 0.45
DetectMethod · 0.45
DetectMethod · 0.45
DetectMethod · 0.45
DetectMethod · 0.45
DetectMethod · 0.45
DetectMethod · 0.45
hasServiceBindingMethod · 0.45
framework_test.goFile · 0.45
DetectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected