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

Method ApplyToReader

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

Source from the content-addressed store, hash-verified

123}
124
125func (o *offlineOption) ApplyToReader(r *Reader) {
126 r.offline = o.offline
127}
128
129// WithTrustedHosts configures the [Reader] with a list of trusted hosts for remote
130// Taskfiles. Hosts in this list will not prompt for user confirmation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected