MCPcopy Create free account
hub / github.com/cloudfoundry/cli / containsGUID

Method containsGUID

cf/actors/planbuilder/plan_builder.go:138–145  ·  view source on GitHub ↗
(guidSlice []string, guid string)

Source from the content-addressed store, hash-verified

136}
137
138func (builder Builder) containsGUID(guidSlice []string, guid string) bool {
139 for _, g := range guidSlice {
140 if g == guid {
141 return true
142 }
143 }
144 return false
145}
146
147func (builder Builder) buildPlanToOrgVisibilityMap(orgName string) (map[string][]string, error) {
148 org, err := builder.orgRepo.FindByName(orgName)

Callers 1

GetPlansVisibleToOrgMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected