(flags map[string]string, names ...string)
| 145 | } |
| 146 | |
| 147 | func hasFlag(flags map[string]string, names ...string) bool { |
| 148 | for _, n := range names { |
| 149 | if _, ok := flags[n]; ok { |
| 150 | return true |
| 151 | } |
| 152 | } |
| 153 | return false |
| 154 | } |
| 155 | |
| 156 | // HooksCommand returns the hidden subcommand that the Docker CLI invokes |
| 157 | // after command execution when the compose plugin has hooks configured. |
no outgoing calls
no test coverage detected