SourceIsHttp returns true if go-getter thinks the src looks like an http url
(src string)
| 43 | |
| 44 | // SourceIsHttp returns true if go-getter thinks the src looks like an http url |
| 45 | func SourceIsHttp(src string) bool { |
| 46 | return detector.HttpDetector(src) |
| 47 | } |
| 48 | |
| 49 | func GoGetterDownload(ctx context.Context, tmpDir, src string) (string, error) { |
| 50 | // Download the config from a url |
no outgoing calls