From 9601dee4a3b792797df6207cd3431dd693e632bf Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 27 Nov 2023 16:49:44 +0100 Subject: [PATCH] [DEADCODE] update deadcode-out (cherry picked from commit ff0554a18464ff3c6bfaf9551984e8d2f54d8298) (cherry picked from commit e9901814be58afa1aaa9c904b5b3e56e98bb96c5) (cherry picked from commit 9ff7c41d53cc68e48a398bc666f82e94720899be) --- .deadcode-out | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.deadcode-out b/.deadcode-out index d973769997..a00ada7529 100644 --- a/.deadcode-out +++ b/.deadcode-out @@ -17,17 +17,15 @@ package "code.gitea.io/gitea/models" func GetYamlFixturesAccess package "code.gitea.io/gitea/models/actions" - func ListUploadedArtifactsByRunID - func CountRunJobs func (ScheduleList).GetUserIDs func (ScheduleList).GetRepoIDs func (ScheduleList).LoadTriggerUser func (ScheduleList).LoadRepos - func FindSchedules - func CountSpecs func GetVariableByID package "code.gitea.io/gitea/models/asymkey" + func (ErrGPGKeyAccessDenied).Error + func (ErrGPGKeyAccessDenied).Unwrap func HasDeployKey package "code.gitea.io/gitea/models/auth" @@ -39,8 +37,7 @@ package "code.gitea.io/gitea/models/db" func TruncateBeans func InTransaction func DumpTables - func Count - func FindAndCount + func IsErrConditionRequired package "code.gitea.io/gitea/models/dbfs" func (*file).renameTo @@ -52,10 +49,6 @@ package "code.gitea.io/gitea/models/forgejo/semver" func SetVersionString func SetVersion -package "code.gitea.io/gitea/models/forgejo_migrations" - func GetCurrentDBVersion - func EnsureUpToDate - package "code.gitea.io/gitea/models/git" func RemoveDeletedBranchByID @@ -67,8 +60,6 @@ package "code.gitea.io/gitea/models/issues" func GetRepoIDsForIssuesOptions func GetLabelIDsInOrgByNames func ChangeMilestoneStatus - func GetMilestonesByRepoIDs - func CountMilestonesByRepoCond func GetMilestonesStatsByRepoCond func IsErrErrPullRequestHeadRepoMissing func (ErrPullRequestHeadRepoMissing).Error @@ -106,6 +97,8 @@ package "code.gitea.io/gitea/models/repo" func (*releaseSorter).Less func (*releaseSorter).Swap func SortReleases + func FindReposMapByIDs + func RepositoryListOfMap func (SearchOrderBy).String func IsErrTopicNotExist func (ErrTopicNotExist).Error @@ -219,7 +212,6 @@ package "code.gitea.io/gitea/modules/gitgraph" package "code.gitea.io/gitea/modules/graceful" func (*Manager).TerminateContext - func (*Manager).IsTerminate func (*Manager).Err func (*Manager).Value func (*Manager).Deadline