GitHubDetector implements Detector to detect GitHub URLs and turn them into URLs that the Git Getter can understand.
| 9 | // GitHubDetector implements Detector to detect GitHub URLs and turn |
| 10 | // them into URLs that the Git Getter can understand. |
| 11 | type GitHubDetector struct{} |
| 12 | |
| 13 | func (d *GitHubDetector) Detect(src, _ string) (string, bool, error) { |
| 14 | if len(src) == 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected