MCPcopy
hub / github.com/nektos/act / copyPtyOutput

Function copyPtyOutput

pkg/container/host_environment.go:262–269  ·  view source on GitHub ↗
(writer io.Writer, ppty io.Reader, finishLog context.CancelFunc)

Source from the content-addressed store, hash-verified

260}
261
262func copyPtyOutput(writer io.Writer, ppty io.Reader, finishLog context.CancelFunc) {
263 defer func() {
264 finishLog()
265 }()
266 if _, err := io.Copy(writer, ppty); err != nil {
267 return
268 }
269}
270
271func (e *HostEnvironment) UpdateFromImageEnv(_ *map[string]string) common.Executor {
272 return func(_ context.Context) error {

Callers 1

execMethod · 0.85

Calls 1

CopyMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…