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

Struct fdReader

pkg/iostreams/iostreams.go:612–615  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

610
611// fdReader represents a wrapped stdin ReadCloser that preserves the original file descriptor
612type fdReader struct {
613 io.ReadCloser
614 fd uintptr
615}
616
617func (r *fdReader) Fd() uintptr {
618 return r.fd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected