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

Struct SliceIndex

cmp/path.go:220–220  ·  view source on GitHub ↗

SliceIndex is a [PathStep] that represents an index operation on a slice or array at some index [SliceIndex.Key].

Source from the content-addressed store, hash-verified

218// SliceIndex is a [PathStep] that represents an index operation on
219// a slice or array at some index [SliceIndex.Key].
220type SliceIndex struct{ *sliceIndex }
221type sliceIndex struct {
222 pathStep
223 xkey, ykey int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected