MCPcopy
hub / github.com/google/go-cmp / ByIgnore

Method ByIgnore

cmp/options.go:457–459  ·  view source on GitHub ↗

ByIgnore reports whether the node is equal because it was ignored. This never reports true if [Result.Equal] reports false.

()

Source from the content-addressed store, hash-verified

455// ByIgnore reports whether the node is equal because it was ignored.
456// This never reports true if [Result.Equal] reports false.
457func (r Result) ByIgnore() bool {
458 return r.flags&reportByIgnore != 0
459}
460
461// ByMethod reports whether the Equal method determined equality.
462func (r Result) ByMethod() bool {

Callers 1

ReportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected