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

Method ApplyToReader

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

Source from the content-addressed store, hash-verified

165}
166
167func (o *cacheExpiryDurationOption) ApplyToReader(r *Reader) {
168 r.cacheExpiryDuration = o.duration
169}
170
171// WithDebugFunc sets the debug function to be used by the [Reader]. If set,
172// this function will be called with debug messages. This can be useful if the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected