MCPcopy
hub / github.com/protocolbuffers/protobuf-go / shadowList

Struct shadowList

internal/reflection_test/reflection_test.go:740–742  ·  view source on GitHub ↗

shadowList implements protoreflect.List as a shadow.

Source from the content-addressed store, hash-verified

738
739// shadowList implements protoreflect.List as a shadow.
740type shadowList struct {
741 get, set protoreflect.List
742}
743
744func (x *shadowList) Len() int { return x.get.Len() }
745func (x *shadowList) Get(n int) protoreflect.Value { return x.get.Get(n) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected