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

Method DetectAll

src/java/frameworks/framework.go:116–128  ·  view source on GitHub ↗

DetectAll returns all frameworks that should be included

()

Source from the content-addressed store, hash-verified

114
115// DetectAll returns all frameworks that should be included
116func (r *Registry) DetectAll() ([]Framework, []string, error) {
117 var matched []Framework
118 var names []string
119
120 for _, framework := range r.frameworks {
121 if name, err := framework.Detect(); err == nil && name != "" {
122 matched = append(matched, framework)
123 names = append(names, name)
124 }
125 }
126
127 return matched, names, nil
128}
129
130// Type aliases for backward compatibility
131// All VCAP types and functions are now in common package

Callers 3

installFrameworksMethod · 0.95
finalizeFrameworksMethod · 0.95
framework_test.goFile · 0.45

Calls 1

DetectMethod · 0.65

Tested by

no test coverage detected