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

Method Size

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

Source from the content-addressed store, hash-verified

1688 return n
1689}
1690func (m *GitConfig) Size() (n int) {
1691 if m == nil {
1692 return 0
1693 }
1694 var l int
1695 _ = l
1696 if len(m.Entries) > 0 {
1697 for _, e := range m.Entries {
1698 l = e.Size()
1699 n += 1 + l + sovGit(uint64(l))
1700 }
1701 }
1702 return n
1703}
1704
1705func (m *GitConfigEntry) Size() (n int) {
1706 if m == nil {

Callers 3

XXX_SizeMethod · 0.95
MarshalMethod · 0.95
MarshalToMethod · 0.95

Calls 2

sovGitFunction · 0.85
SizeMethod · 0.65

Tested by

no test coverage detected