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

Struct fdReader

pkg/iostreams/iostreams.go:648–651  ·  view source on GitHub ↗

fdReader represents a wrapped stdin ReadCloser that preserves the original file descriptor

Source from the content-addressed store, hash-verified

646
647// fdReader represents a wrapped stdin ReadCloser that preserves the original file descriptor
648type fdReader struct {
649 io.ReadCloser
650 fd uintptr
651}
652
653func (r *fdReader) Fd() uintptr {
654 return r.fd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected