SourceIsGit returns true if go-getter thinks the src looks like a git url
(src string)
| 38 | |
| 39 | // SourceIsGit returns true if go-getter thinks the src looks like a git url |
| 40 | func SourceIsGit(src string) bool { |
| 41 | return detector.GitDetector(src) |
| 42 | } |
| 43 | |
| 44 | // SourceIsHttp returns true if go-getter thinks the src looks like an http url |
| 45 | func SourceIsHttp(src string) bool { |
no outgoing calls