MCPcopy Create free account
hub / github.com/go-task/task / ApplyToReader

Method ApplyToReader

taskfile/reader.go:111–113  ·  view source on GitHub ↗
(r *Reader)

Source from the content-addressed store, hash-verified

109}
110
111func (o *downloadOption) ApplyToReader(r *Reader) {
112 r.download = o.download
113}
114
115// WithOffline stops the [Reader] from being able to make network connections.
116// It will still be able to read local files and cached copies of remote files.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected