MCPcopy Index your code
hub / github.com/go-task/task / setupDefaults

Method setupDefaults

setup.go:254–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252}
253
254func (e *Executor) setupDefaults() {
255 if e.Taskfile.Method == "" {
256 e.Taskfile.Method = "checksum"
257 }
258 if e.Taskfile.Run == "" {
259 e.Taskfile.Run = "always"
260 }
261}
262
263func (e *Executor) setupConcurrencyState() {
264 e.executionHashes = make(map[string]context.Context)

Callers 1

SetupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected