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

Method LenY

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

LenY is the length of the Y list.

()

Source from the content-addressed store, hash-verified

86
87// LenY is the length of the Y list.
88func (es EditScript) LenY() int { return len(es) - es.stats().NX }
89
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.

Callers 1

testStringsFunction · 0.80

Calls 1

statsMethod · 0.95

Tested by 1

testStringsFunction · 0.64