MCPcopy Index your code
hub / github.com/imroc/req / SetOutput

Method SetOutput

parallel_download.go:126–131  ·  view source on GitHub ↗
(output io.Writer)

Source from the content-addressed store, hash-verified

124}
125
126func (pd *ParallelDownload) SetOutput(output io.Writer) *ParallelDownload {
127 if output != nil {
128 pd.output = output
129 }
130 return pd
131}
132
133func (pd *ParallelDownload) SetOutputFile(filename string) *ParallelDownload {
134 pd.filename = filename

Callers 1

handleTaskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected