You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 75ddd50
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: github/repos_releases.go
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,8 +266,13 @@ func (s *RepositoriesService) GetReleaseAsset(ctx context.Context, owner, repo s
266
266
// If a redirect is returned, the redirect URL will be returned as a string instead
267
267
// of the io.ReadCloser. Exactly one of rc and redirectURL will be zero.
268
268
//
269
+
// followRedirectsClient can be passed to download the asset from a redirected
270
+
// location. Passing http.DefaultClient is recommended unless special circumstances
271
+
// exist, but it's possible to pass any http.Client. If nil is passed the
272
+
// redirectURL will be returned instead.
273
+
//
269
274
// GitHub API docs: https://developer.github.com/v3/repos/releases/#get-a-single-release-asset
// EditReleaseAsset edits a repository release asset.
308
335
//
309
336
// GitHub API docs: https://developer.github.com/v3/repos/releases/#edit-a-release-asset
0 commit comments