MCPcopy Create free account
hub / github.com/cli/cli / fdWriteCloser

Struct fdWriteCloser

pkg/iostreams/iostreams.go:639–642  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

637
638// fdWriteCloser represents a wrapped stdout Writer that preserves the original file descriptor
639type fdWriteCloser struct {
640 io.WriteCloser
641 fd uintptr
642}
643
644func (w *fdWriteCloser) Fd() uintptr {
645 return w.fd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected