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

Method Marshal

engine/session/git/git.pb.go:1517–1525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1515}
1516
1517func (m *ErrorInfo) Marshal() (dAtA []byte, err error) {
1518 size := m.Size()
1519 dAtA = make([]byte, size)
1520 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1521 if err != nil {
1522 return nil, err
1523 }
1524 return dAtA[:n], nil
1525}
1526
1527func (m *ErrorInfo) MarshalTo(dAtA []byte) (int, error) {
1528 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected