MCPcopy
hub / github.com/go-task/task / cacheExpiryDurationOption

Struct cacheExpiryDurationOption

executor.go:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289type cacheExpiryDurationOption struct {
290 duration time.Duration
291}
292
293func (o *cacheExpiryDurationOption) ApplyToExecutor(r *Executor) {
294 r.CacheExpiryDuration = o.duration

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected