MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack-memory-calculator / validate

Function validate

main.go:75–86  ·  view source on GitHub ↗
(vs ...flags.Validatable)

Source from the content-addressed store, hash-verified

73}
74
75func validate(vs ...flags.Validatable) bool {
76 valid := true
77
78 for _, v := range vs {
79 if err := v.Validate(); err != nil {
80 _, _ = fmt.Fprintln(os.Stderr, err)
81 valid = false
82 }
83 }
84
85 return valid
86}

Callers 1

mainFunction · 0.85

Calls 1

ValidateMethod · 0.65

Tested by

no test coverage detected