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

Method ApplyToExecutor

executor.go:293–295  ·  view source on GitHub ↗
(r *Executor)

Source from the content-addressed store, hash-verified

291}
292
293func (o *cacheExpiryDurationOption) ApplyToExecutor(r *Executor) {
294 r.CacheExpiryDuration = o.duration
295}
296
297// WithRemoteCacheDir sets the directory where remote taskfiles are cached.
298func WithRemoteCacheDir(dir string) ExecutorOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected