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

Method Size

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

Source from the content-addressed store, hash-verified

1561 return base
1562}
1563func (m *GitCredentialRequest) Size() (n int) {
1564 if m == nil {
1565 return 0
1566 }
1567 var l int
1568 _ = l
1569 l = len(m.Protocol)
1570 if l > 0 {
1571 n += 1 + l + sovGit(uint64(l))
1572 }
1573 l = len(m.Host)
1574 if l > 0 {
1575 n += 1 + l + sovGit(uint64(l))
1576 }
1577 l = len(m.Path)
1578 if l > 0 {
1579 n += 1 + l + sovGit(uint64(l))
1580 }
1581 return n
1582}
1583
1584func (m *GitCredentialResponse) Size() (n int) {
1585 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