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

FuncType EqualFunc

cmp/internal/diff/diff.go:92–92  ·  view source on GitHub ↗

EqualFunc reports whether the symbols at indexes ix and iy are equal. When called by Difference, the index is guaranteed to be within nx and ny.

func(ix int, iy int) Result

Source from the content-addressed store, hash-verified

90// EqualFunc reports whether the symbols at indexes ix and iy are equal.
91// When called by Difference, the index is guaranteed to be within nx and ny.
92type EqualFunc func(ix int, iy int) Result
93
94// Result is the result of comparison.
95// NumSame is the number of sub-elements that are equal.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…