MCPcopy
hub / github.com/golang/protobuf / checkRequiredNotSet

Function checkRequiredNotSet

proto/proto.go:121–126  ·  proto/proto.go::checkRequiredNotSet
(m protoV2.Message)

Source from the content-addressed store, hash-verified

119}
120
121func checkRequiredNotSet(m protoV2.Message) error {
122 if err := protoV2.CheckInitialized(m); err != nil {
123 return &RequiredNotSetError{err: err}
124 }
125 return nil
126}
127
128// Clone returns a deep copy of src.
129func Clone(src Message) Message {

Callers 3

UnmarshalTextFunction · 0.85
marshalAppendFunction · 0.85
UnmarshalMergeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected