mirror of https://sc.cryxtal.org/crystal/forgejo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
391 B
21 lines
391 B
// Copyright 2023 The Forgejo Authors
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package migrations
|
|
|
|
import (
|
|
"code.gitea.io/gitea/modules/structs"
|
|
)
|
|
|
|
func init() {
|
|
RegisterDownloaderFactory(&ForgejoDownloaderFactory{})
|
|
}
|
|
|
|
type ForgejoDownloaderFactory struct {
|
|
GiteaDownloaderFactory
|
|
}
|
|
|
|
func (f *ForgejoDownloaderFactory) GitServiceType() structs.GitServiceType {
|
|
return structs.ForgejoService
|
|
}
|