(cmd Command)
| 78 | } |
| 79 | |
| 80 | func commandPathParts(cmd Command) []string { |
| 81 | parts := strings.Fields(cmd.Name) |
| 82 | if len(parts) <= 1 { |
| 83 | return nil |
| 84 | } |
| 85 | |
| 86 | return parts[1:] |
| 87 | } |
| 88 | |
| 89 | func commandOutputFilename(cmd Command) string { |
| 90 | parts := commandPathParts(cmd) |
no outgoing calls
no test coverage detected