MCPcopy
hub / github.com/cli/cli / fdWriteCloser

Struct fdWriteCloser

pkg/iostreams/iostreams.go:602–605  ·  view source on GitHub ↗

fdWriteCloser represents a wrapped stdout Writer that preserves the original file descriptor

Source from the content-addressed store, hash-verified

600
601// fdWriteCloser represents a wrapped stdout Writer that preserves the original file descriptor
602type fdWriteCloser struct {
603 io.WriteCloser
604 fd uintptr
605}
606
607func (w *fdWriteCloser) Fd() uintptr {
608 return w.fd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected