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

Method Marshal

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

Source from the content-addressed store, hash-verified

1219}
1220
1221func (m *GitCredentialResponse) Marshal() (dAtA []byte, err error) {
1222 size := m.Size()
1223 dAtA = make([]byte, size)
1224 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1225 if err != nil {
1226 return nil, err
1227 }
1228 return dAtA[:n], nil
1229}
1230
1231func (m *GitCredentialResponse) MarshalTo(dAtA []byte) (int, error) {
1232 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected