MCPcopy Index your code
hub / github.com/databus23/helm-diff / findChange

Function findChange

diff/diff_test.go:719–726  ·  view source on GitHub ↗
(changes []FieldChange, path, field string)

Source from the content-addressed store, hash-verified

717}
718
719func findChange(changes []FieldChange, path, field string) (FieldChange, bool) {
720 for _, change := range changes {
721 if change.Path == path && change.Field == field {
722 return change, true
723 }
724 }
725 return FieldChange{}, false
726}
727
728func TestStructuredOutputErrorPaths(t *testing.T) {
729 ansi.DisableColors(true)

Calls

no outgoing calls

Tested by

no test coverage detected