(dAtA []byte)
| 1493 | } |
| 1494 | |
| 1495 | func (m *GitConfigEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1496 | i := len(dAtA) |
| 1497 | _ = i |
| 1498 | var l int |
| 1499 | _ = l |
| 1500 | if len(m.Value) > 0 { |
| 1501 | i -= len(m.Value) |
| 1502 | copy(dAtA[i:], m.Value) |
| 1503 | i = encodeVarintGit(dAtA, i, uint64(len(m.Value))) |
| 1504 | i-- |
| 1505 | dAtA[i] = 0x12 |
| 1506 | } |
| 1507 | if len(m.Key) > 0 { |
| 1508 | i -= len(m.Key) |
| 1509 | copy(dAtA[i:], m.Key) |
| 1510 | i = encodeVarintGit(dAtA, i, uint64(len(m.Key))) |
| 1511 | i-- |
| 1512 | dAtA[i] = 0xa |
| 1513 | } |
| 1514 | return len(dAtA) - i, nil |
| 1515 | } |
| 1516 | |
| 1517 | func (m *ErrorInfo) Marshal() (dAtA []byte, err error) { |
| 1518 | size := m.Size() |
no test coverage detected