Function
copyPtyOutput
(writer io.Writer, ppty io.Reader, finishLog context.CancelFunc)
Source from the content-addressed store, hash-verified
| 260 | } |
| 261 | |
| 262 | func 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 | |
| 271 | func (e *HostEnvironment) UpdateFromImageEnv(_ *map[string]string) common.Executor { |
| 272 | return func(_ context.Context) error { |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…