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

Struct fdWriter

pkg/iostreams/iostreams.go:628–631  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected