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

Struct fdWriteCloser

pkg/iostreams/iostreams.go:638–641  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected