MCPcopy
hub / github.com/carvel-dev/ytt / HasViolations

Method HasViolations

pkg/schema/check.go:46–48  ·  view source on GitHub ↗

HasViolations indicates whether this TypeCheck contains any violations.

()

Source from the content-addressed store, hash-verified

44
45// HasViolations indicates whether this TypeCheck contains any violations.
46func (tc *TypeCheck) HasViolations() bool {
47 return len(tc.Violations) > 0
48}
49
50func newTypeChecker() *typeChecker {
51 return &typeChecker{chk: &TypeCheck{}}

Callers 7

checkExamplesValueFunction · 0.95
getValueFromAnnFunction · 0.95
ErrorMethod · 0.95
VisitMethod · 0.80
CheckTypeMethod · 0.80
CheckTypeMethod · 0.80
CheckTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected