(owner, repo, path, ref string)
| 895 | } |
| 896 | |
| 897 | func downloadFileFromGitHub(owner, repo, path, ref string) ([]byte, error) { |
| 898 | return downloadFileFromGitHubWithDepth(owner, repo, path, ref, 0, "") |
| 899 | } |
| 900 | |
| 901 | func downloadFileFromGitHubWithDepth(owner, repo, path, ref string, symlinkDepth int, host string) ([]byte, error) { |
| 902 | client, err := createRESTClientForHost(host) |