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

Function WithTempDirPath

executor.go:173–175  ·  view source on GitHub ↗

WithTempDirPath sets an unresolved path used to build [Executor.TempDir] during [Executor.Setup]. Relative paths are resolved from the root Taskfile directory. Use [WithTempDir] when the remote and fingerprint directories have already been resolved.

(path string)

Source from the content-addressed store, hash-verified

171// directory. Use [WithTempDir] when the remote and fingerprint directories have
172// already been resolved.
173func WithTempDirPath(path string) ExecutorOption {
174 return &tempDirPathOption{path: path}
175}
176
177type tempDirPathOption struct {
178 path string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…