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

Method Marshal

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

Source from the content-addressed store, hash-verified

1175}
1176
1177func (m *GitCredentialRequest) Marshal() (dAtA []byte, err error) {
1178 size := m.Size()
1179 dAtA = make([]byte, size)
1180 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1181 if err != nil {
1182 return nil, err
1183 }
1184 return dAtA[:n], nil
1185}
1186
1187func (m *GitCredentialRequest) MarshalTo(dAtA []byte) (int, error) {
1188 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected