MCPcopy Create free account
hub / github.com/libgit2/git2go / Close

Method Close

ssh.go:175–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173}
174
175func (t *sshSmartSubtransport) Close() error {
176 t.currentStream = nil
177 if t.client != nil {
178 t.stdin.Close()
179 t.session.Wait()
180 t.session.Close()
181 t.client = nil
182 }
183 return nil
184}
185
186func (t *sshSmartSubtransport) Free() {
187}

Callers 1

ActionMethod · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected