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

Method Size

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

Source from the content-addressed store, hash-verified

1703}
1704
1705func (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
1722func (m *ErrorInfo) Size() (n int) {
1723 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 1

sovGitFunction · 0.85

Tested by

no test coverage detected