This commit is contained in:
Chongyi Zheng 2023-08-24 15:01:01 -04:00
parent 2a66750c0d
commit d2ef14c17f
No known key found for this signature in database
GPG Key ID: E3C2287691E40E35
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ package migration
type Uploader interface {
MaxBatchInsertSize(tp string) int
CreateRepo(repo *Repository, opts MigrateOptions) error
CreateTopics(topic ...string) error
CreateTopics(topics ...string) error
CreateMilestones(milestones ...*Milestone) error
CreateReleases(releases ...*Release) error
SyncTags() error
@ -17,7 +17,7 @@ type Uploader interface {
CreateComments(comments ...*Comment) error
CreatePullRequests(prs ...*PullRequest) error
CreateReviews(reviews ...*Review) error
UpdateTopics(topic ...string) error // update topics of a repository, and delete those that are not in the list
UpdateTopics(topics ...string) error // update topics of a repository, and delete those that are not in the list
UpdateMilestones(milestones ...*Milestone) error // update milestones of a repository, and delete those that are not in the list
UpdateLabels(labels ...*Label) error // rewrite all issue labels and delete those that are not in the list
PatchReleases(releases ...*Release) error // add or update releases (no deletes)