diff options
Diffstat (limited to 'modules/migrations/base/downloader.go')
-rw-r--r-- | modules/migrations/base/downloader.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/migrations/base/downloader.go b/modules/migrations/base/downloader.go index 5c47ed5305..afa99105c9 100644 --- a/modules/migrations/base/downloader.go +++ b/modules/migrations/base/downloader.go @@ -7,20 +7,13 @@ package base import ( "context" - "io" "time" "code.gitea.io/gitea/modules/structs" ) -// AssetDownloader downloads an asset (attachment) for a release -type AssetDownloader interface { - GetAsset(relTag string, relID, id int64) (io.ReadCloser, error) -} - // Downloader downloads the site repo informations type Downloader interface { - AssetDownloader SetContext(context.Context) GetRepoInfo() (*Repository, error) GetTopics() ([]string, error) |