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

Method XXX_Marshal

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

Source from the content-addressed store, hash-verified

408 return m.Unmarshal(b)
409}
410func (m *GitConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
411 if deterministic {
412 return xxx_messageInfo_GitConfig.Marshal(b, m, deterministic)
413 } else {
414 b = b[:cap(b)]
415 n, err := m.MarshalToSizedBuffer(b)
416 if err != nil {
417 return nil, err
418 }
419 return b[:n], nil
420 }
421}
422func (m *GitConfig) XXX_Merge(src proto.Message) {
423 xxx_messageInfo_GitConfig.Merge(m, src)
424}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected