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

Method ApplyToReader

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

Source from the content-addressed store, hash-verified

137}
138
139func (o *trustedHostsOption) ApplyToReader(r *Reader) {
140 r.trustedHosts = o.trustedHosts
141}
142
143// WithTempDir sets the temporary directory that will be used by the [Reader].
144// By default, the reader uses [os.TempDir].

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected