MCPcopy Create free account
hub / github.com/containerd/nerdctl / nullStream

Function nullStream

pkg/taskutil/taskutil.go:245–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243}
244
245func nullStream() *os.File {
246 devNull, err := os.Open(os.DevNull)
247 if err != nil {
248 return nil
249 }
250 defer devNull.Close()
251
252 return devNull
253}
254
255func processAttachStreamsOpt(streamsArr []string) streams {
256 stdIn := os.Stdin

Callers 1

processAttachStreamsOptFunction · 0.85

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…