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

Method XXX_Marshal

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

Source from the content-addressed store, hash-verified

326 return m.Unmarshal(b)
327}
328func (m *GitConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
329 if deterministic {
330 return xxx_messageInfo_GitConfigResponse.Marshal(b, m, deterministic)
331 } else {
332 b = b[:cap(b)]
333 n, err := m.MarshalToSizedBuffer(b)
334 if err != nil {
335 return nil, err
336 }
337 return b[:n], nil
338 }
339}
340func (m *GitConfigResponse) XXX_Merge(src proto.Message) {
341 xxx_messageInfo_GitConfigResponse.Merge(m, src)
342}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected