MCPcopy Index your code
hub / github.com/cli/cli / fdWriter

Struct fdWriter

pkg/iostreams/iostreams.go:592–595  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

590
591// fdWriter represents a wrapped stdout Writer that preserves the original file descriptor
592type fdWriter struct {
593 io.Writer
594 fd uintptr
595}
596
597func (w *fdWriter) Fd() uintptr {
598 return w.fd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected