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

Method LenX

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

LenX is the length of the X list.

()

Source from the content-addressed store, hash-verified

83
84// LenX is the length of the X list.
85func (es EditScript) LenX() int { return len(es) - es.stats().NY }
86
87// LenY is the length of the Y list.
88func (es EditScript) LenY() int { return len(es) - es.stats().NX }

Callers 1

testStringsFunction · 0.80

Calls 1

statsMethod · 0.95

Tested by 1

testStringsFunction · 0.64