summaryrefslogtreecommitdiffstats
path: root/modules/migrations/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migrations/git.go')
-rw-r--r--modules/migrations/git.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/migrations/git.go b/modules/migrations/git.go
index 0aad8dbef5..88222086e4 100644
--- a/modules/migrations/git.go
+++ b/modules/migrations/git.go
@@ -6,7 +6,6 @@ package migrations
import (
"context"
- "io"
"code.gitea.io/gitea/modules/migrations/base"
)
@@ -65,11 +64,6 @@ func (g *PlainGitDownloader) GetReleases() ([]*base.Release, error) {
return nil, ErrNotSupported
}
-// GetAsset returns an asset
-func (g *PlainGitDownloader) GetAsset(_ string, _, _ int64) (io.ReadCloser, error) {
- return nil, ErrNotSupported
-}
-
// GetIssues returns issues according page and perPage
func (g *PlainGitDownloader) GetIssues(page, perPage int) ([]*base.Issue, bool, error) {
return nil, false, ErrNotSupported