Cmd is a task command
| 9 | |
| 10 | // Cmd is a task command |
| 11 | type Cmd struct { |
| 12 | Cmd string // Resolved command (used for execution and fingerprinting) |
| 13 | LogCmd string // Command with secrets masked (used for logging) |
| 14 | Task string |
| 15 | For *For |
| 16 | If string |
| 17 | Silent bool |
| 18 | Set []string |
| 19 | Shopt []string |
| 20 | Vars *Vars |
| 21 | IgnoreError bool |
| 22 | Defer bool |
| 23 | Platforms []*Platform |
| 24 | } |
| 25 | |
| 26 | func (c *Cmd) DeepCopy() *Cmd { |
| 27 | if c == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected