(name string)
| 164 | } |
| 165 | |
| 166 | func splitDomain(name string) (string, string) { |
| 167 | match := anchoredNameRegexp.FindStringSubmatch(name) |
| 168 | if len(match) != 3 { |
| 169 | return "", name |
| 170 | } |
| 171 | return match[1], match[2] |
| 172 | } |
| 173 | |
| 174 | // SplitHostname splits a named reference into a |
| 175 | // hostname and name string. If no valid hostname is |
no test coverage detected
searching dependent graphs…