(tokens []string)
| 336 | } |
| 337 | |
| 338 | func splitTokens(tokens []string) (string, string) { |
| 339 | if len(tokens) == 0 { |
| 340 | return "", "" |
| 341 | } |
| 342 | return formatPath(tokens[:len(tokens)-1]), tokens[len(tokens)-1] |
| 343 | } |
| 344 | |
| 345 | func containsKind(list []string, target string) bool { |
| 346 | for _, item := range list { |
no test coverage detected