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

Struct Precondition

taskfile/ast/precondition.go:12–15  ·  view source on GitHub ↗

Precondition represents a precondition necessary for a task to run

Source from the content-addressed store, hash-verified

10
11// Precondition represents a precondition necessary for a task to run
12type Precondition struct {
13 Sh string
14 Msg string
15}
16
17func (p *Precondition) DeepCopy() *Precondition {
18 if p == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected