MCPcopy Create free account
hub / github.com/brimdata/super / readerOpts

Method readerOpts

runtime/exec/environment.go:128–135  ·  view source on GitHub ↗
(fields []field.Path, format string)

Source from the content-addressed store, hash-verified

126}
127
128func (e *Environment) readerOpts(fields []field.Path, format string) anyio.ReaderOpts {
129 o := e.ReaderOpts
130 o.Fields = fields
131 if format != "" {
132 o.Format = format
133 }
134 return o
135}
136
137func (e *Environment) OpenHTTP(ctx context.Context, sctx *super.Context, url, format, method string, headers http.Header, body io.Reader, fields []field.Path) (sbuf.Puller, error) {
138 req, err := http.NewRequestWithContext(ctx, method, url, body)

Callers 2

OpenMethod · 0.95
OpenHTTPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected