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

Method Marshal

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

Source from the content-addressed store, hash-verified

1441 return len(dAtA) - i, nil
1442}
1443func (m *GitConfig) Marshal() (dAtA []byte, err error) {
1444 size := m.Size()
1445 dAtA = make([]byte, size)
1446 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1447 if err != nil {
1448 return nil, err
1449 }
1450 return dAtA[:n], nil
1451}
1452
1453func (m *GitConfig) MarshalTo(dAtA []byte) (int, error) {
1454 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected