MCPcopy
hub / github.com/cloudfoundry/cli / copyAndDone

Function copyAndDone

cf/ssh/ssh.go:207–210  ·  view source on GitHub ↗
(wg *sync.WaitGroup, dest io.Writer, src io.Reader)

Source from the content-addressed store, hash-verified

205}
206
207func copyAndDone(wg *sync.WaitGroup, dest io.Writer, src io.Reader) {
208 _, _ = io.Copy(dest, src)
209 wg.Done()
210}
211
212func (c *secureShell) InteractiveSession() error {
213 var err error

Callers 1

InteractiveSessionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected