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

Struct fdWriter

pkg/iostreams/iostreams.go:629–632  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

627
628// fdWriter represents a wrapped stdout Writer that preserves the original file descriptor
629type fdWriter struct {
630 io.Writer
631 fd uintptr
632}
633
634func (w *fdWriter) Fd() uintptr {
635 return w.fd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected