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

Method Equal

cmp/report_text.go:71–71  ·  view source on GitHub ↗

Equal reports whether the two trees are structurally identical. Nested textRecord.Diff and textRecord.Comment fields are compared.

(textNode)

Source from the content-addressed store, hash-verified

69 // Equal reports whether the two trees are structurally identical.
70 // Nested textRecord.Diff and textRecord.Comment fields are compared.
71 Equal(textNode) bool
72 // String returns the string representation of the text tree.
73 // It is not guaranteed that len(x.String()) == x.Len(),
74 // nor that x.String() == y.String() implies that x.Equal(y).

Callers 15

FormatDiffSliceMethod · 0.65
EqualFunction · 0.65
DiffFunction · 0.65
callTRFuncMethod · 0.65
ReportMethod · 0.65
project2TestsFunction · 0.65
FormatDiffMethod · 0.65
formatDiffListMethod · 0.65
ReportMethod · 0.65
EqualMethod · 0.65
AppendEllipsisMethod · 0.65
EqualMethod · 0.65

Implementers 1

textWrapcmp/report_text.go

Calls

no outgoing calls

Tested by 4

ReportMethod · 0.52
project2TestsFunction · 0.52
validateScriptFunction · 0.52
TestResultFunction · 0.52