MCPcopy Create free account
hub / github.com/dagger/dagger / XXX_Marshal

Method XXX_Marshal

engine/session/git/git.pb.go:505–516  ·  view source on GitHub ↗
(b []byte, deterministic bool)

Source from the content-addressed store, hash-verified

503 return m.Unmarshal(b)
504}
505func (m *ErrorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
506 if deterministic {
507 return xxx_messageInfo_ErrorInfo.Marshal(b, m, deterministic)
508 } else {
509 b = b[:cap(b)]
510 n, err := m.MarshalToSizedBuffer(b)
511 if err != nil {
512 return nil, err
513 }
514 return b[:n], nil
515 }
516}
517func (m *ErrorInfo) XXX_Merge(src proto.Message) {
518 xxx_messageInfo_ErrorInfo.Merge(m, src)
519}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected