MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / SetConnectionCount

Method SetConnectionCount

ssh/connection.go:134–138  ·  view source on GitHub ↗

SetConnectionCount sets the number of connections to the specified number.

(n int)

Source from the content-addressed store, hash-verified

132
133// SetConnectionCount sets the number of connections to the specified number.
134func (st *SSHTransfer) SetConnectionCount(n int) error {
135 st.lock.Lock()
136 defer st.lock.Unlock()
137 return st.setConnectionCount(n)
138}
139
140// SetConnectionCountAtLeast sets the number of connections to be not less than
141// the specified number.

Callers 1

ShutdownMethod · 0.95

Calls 3

setConnectionCountMethod · 0.95
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected