MCPcopy Create free account
hub / github.com/UiPath/uipathcli / ReaderStream

Struct ReaderStream

utils/stream/reader_stream.go:14–17  ·  view source on GitHub ↗

The ReaderStream implements the stream interface by wrapping the generic io.ReadCloser interface. It does not provide any stream length information due to performance reasons. The reader does not have a name, so it needs to be provided when initializing a new ReaderStream instance.

Source from the content-addressed store, hash-verified

12// The reader does not have a name, so it needs to be provided when
13// initializing a new ReaderStream instance.
14type ReaderStream struct {
15 name string
16 reader io.ReadCloser
17}
18
19func (s ReaderStream) Name() string {
20 return s.name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected