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

Method Marshal

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

Source from the content-addressed store, hash-verified

1478}
1479
1480func (m *GitConfigEntry) Marshal() (dAtA []byte, err error) {
1481 size := m.Size()
1482 dAtA = make([]byte, size)
1483 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1484 if err != nil {
1485 return nil, err
1486 }
1487 return dAtA[:n], nil
1488}
1489
1490func (m *GitConfigEntry) MarshalTo(dAtA []byte) (int, error) {
1491 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected