()
| 1703 | } |
| 1704 | |
| 1705 | func (m *GitConfigEntry) Size() (n int) { |
| 1706 | if m == nil { |
| 1707 | return 0 |
| 1708 | } |
| 1709 | var l int |
| 1710 | _ = l |
| 1711 | l = len(m.Key) |
| 1712 | if l > 0 { |
| 1713 | n += 1 + l + sovGit(uint64(l)) |
| 1714 | } |
| 1715 | l = len(m.Value) |
| 1716 | if l > 0 { |
| 1717 | n += 1 + l + sovGit(uint64(l)) |
| 1718 | } |
| 1719 | return n |
| 1720 | } |
| 1721 | |
| 1722 | func (m *ErrorInfo) Size() (n int) { |
| 1723 | if m == nil { |