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

Method XXX_Marshal

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

Source from the content-addressed store, hash-verified

452 return m.Unmarshal(b)
453}
454func (m *GitConfigEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
455 if deterministic {
456 return xxx_messageInfo_GitConfigEntry.Marshal(b, m, deterministic)
457 } else {
458 b = b[:cap(b)]
459 n, err := m.MarshalToSizedBuffer(b)
460 if err != nil {
461 return nil, err
462 }
463 return b[:n], nil
464 }
465}
466func (m *GitConfigEntry) XXX_Merge(src proto.Message) {
467 xxx_messageInfo_GitConfigEntry.Merge(m, src)
468}

Callers

nothing calls this directly

Calls 2

MarshalToSizedBufferMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected