(u string)
| 19 | } |
| 20 | |
| 21 | func isPossibleProtocol(u string) bool { |
| 22 | return isSupportedProtocol(u) || |
| 23 | strings.HasPrefix(u, "ftp:") || |
| 24 | strings.HasPrefix(u, "ftps:") || |
| 25 | strings.HasPrefix(u, "file:") |
| 26 | } |
| 27 | |
| 28 | // ParseURL normalizes git remote urls |
| 29 | func ParseURL(rawURL string) (*url.URL, error) { |
no test coverage detected