MCPcopy
hub / github.com/zarf-dev/zarf / Error

Method Error

src/pkg/lint/findings.go:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (e *LintError) Error() string {
18 return fmt.Sprintf("linting error found %d instance(s)", len(e.Findings))
19}
20
21// OnlyWarnings returns true if all findings have severity warning.
22func (e *LintError) OnlyWarnings() bool {

Callers 15

Test_NewErrorsFunction · 0.45
Test_ParseLevelErrorsFunction · 0.45
WriteMethod · 0.45
TestIsImagePinnedFunction · 0.45
TestForNetworkFunction · 0.45
forNetworkFunction · 0.45
TestPushFunction · 0.45
PullFunction · 0.45
TestUnpackMultipleImagesFunction · 0.45
TestPullFunction · 0.45

Calls

no outgoing calls

Tested by 15

Test_NewErrorsFunction · 0.36
Test_ParseLevelErrorsFunction · 0.36
TestIsImagePinnedFunction · 0.36
TestForNetworkFunction · 0.36
TestPushFunction · 0.36
TestUnpackMultipleImagesFunction · 0.36
TestPullFunction · 0.36