Skip to content

Commit a853892

Browse files
committed
[DEADCODE] update deadcode-out
(cherry picked from commit ff0554a18464ff3c6bfaf9551984e8d2f54d8298) (cherry picked from commit e9901814be58afa1aaa9c904b5b3e56e98bb96c5) (cherry picked from commit 9ff7c41d53cc68e48a398bc666f82e94720899be) (cherry picked from commit 9601dee4a3b792797df6207cd3431dd693e632bf) [DEADCODE] update deadcode-out (squash) update (cherry picked from commit aef379c5f5c3efa0dc959ea6e3b31acef43eb59a) (cherry picked from commit 75473ea) [DEADCODE] update deadcode-out (squash) update (cherry picked from commit 868b7a4) (cherry picked from commit 38787c8779bf461672dfef0b85a3bf4c1ffbf7ee) [DEADCODE] update deadcode-out (squash) update again (cherry picked from commit 91b2932907e0c21cb95bfcdff7258d0800273a51) (cherry picked from commit 39adff772d209dd281d70412276cca5c72024243) (cherry picked from commit 9f76193ea4c44d66c5ffc9506cae5156a15223ab) (cherry picked from commit 8968396cbcbdf546f4cc6283b37a6e4fded56d74) (cherry picked from commit f87e11e2ebdde6171b36bf8363b18d923f61fad3)
1 parent c28b19b commit a853892

File tree

1 file changed

+13
-41
lines changed

1 file changed

+13
-41
lines changed

.deadcode-out

Lines changed: 13 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,15 @@ package "code.gitea.io/gitea/models"
1717
func GetYamlFixturesAccess
1818

1919
package "code.gitea.io/gitea/models/actions"
20-
func ListUploadedArtifactsByRunID
21-
func CountRunJobs
2220
func (ScheduleList).GetUserIDs
2321
func (ScheduleList).GetRepoIDs
2422
func (ScheduleList).LoadTriggerUser
2523
func (ScheduleList).LoadRepos
26-
func FindSchedules
27-
func CountSpecs
2824
func GetVariableByID
2925

3026
package "code.gitea.io/gitea/models/asymkey"
27+
func (ErrGPGKeyAccessDenied).Error
28+
func (ErrGPGKeyAccessDenied).Unwrap
3129
func HasDeployKey
3230

3331
package "code.gitea.io/gitea/models/auth"
@@ -39,8 +37,6 @@ package "code.gitea.io/gitea/models/db"
3937
func TruncateBeans
4038
func InTransaction
4139
func DumpTables
42-
func Count
43-
func FindAndCount
4440

4541
package "code.gitea.io/gitea/models/dbfs"
4642
func (*file).renameTo
@@ -52,29 +48,14 @@ package "code.gitea.io/gitea/models/forgejo/semver"
5248
func SetVersionString
5349
func SetVersion
5450

55-
package "code.gitea.io/gitea/models/forgejo_migrations"
56-
func GetCurrentDBVersion
57-
func EnsureUpToDate
58-
5951
package "code.gitea.io/gitea/models/git"
6052
func RemoveDeletedBranchByID
6153

6254
package "code.gitea.io/gitea/models/issues"
6355
func IsErrUnknownDependencyType
6456
func (ErrNewIssueInsert).Error
6557
func IsErrIssueWasClosed
66-
func GetIssueWithAttrsByID
67-
func GetRepoIDsForIssuesOptions
68-
func GetLabelIDsInOrgByNames
6958
func ChangeMilestoneStatus
70-
func GetMilestonesByRepoIDs
71-
func CountMilestonesByRepoCond
72-
func GetMilestonesStatsByRepoCond
73-
func IsErrErrPullRequestHeadRepoMissing
74-
func (ErrPullRequestHeadRepoMissing).Error
75-
func GetPullRequestsByHeadBranch
76-
func (ErrIssueStopwatchAlreadyExist).Error
77-
func (ErrIssueStopwatchAlreadyExist).Unwrap
7859

7960
package "code.gitea.io/gitea/models/migrations/base"
8061
func removeAllWithRetry
@@ -88,11 +69,6 @@ package "code.gitea.io/gitea/models/organization"
8869
func (SearchMembersOptions).ToConds
8970
func UsersInTeamsCount
9071

91-
package "code.gitea.io/gitea/models/packages/alpine"
92-
func GetBranches
93-
func GetRepositories
94-
func GetArchitectures
95-
9672
package "code.gitea.io/gitea/models/perm/access"
9773
func GetRepoWriters
9874

@@ -106,16 +82,15 @@ package "code.gitea.io/gitea/models/repo"
10682
func (*releaseSorter).Less
10783
func (*releaseSorter).Swap
10884
func SortReleases
85+
func FindReposMapByIDs
86+
func RepositoryListOfMap
10987
func (SearchOrderBy).String
11088
func IsErrTopicNotExist
11189
func (ErrTopicNotExist).Error
11290
func (ErrTopicNotExist).Unwrap
11391
func GetTopicByName
11492
func WatchRepoMode
11593

116-
package "code.gitea.io/gitea/models/system"
117-
func DeleteNotice
118-
11994
package "code.gitea.io/gitea/models/unittest"
12095
func CheckConsistencyFor
12196
func checkForConsistency
@@ -174,8 +149,6 @@ package "code.gitea.io/gitea/modules/auth/password/pwn"
174149
func WithHTTP
175150

176151
package "code.gitea.io/gitea/modules/base"
177-
func BasicAuthEncode
178-
func IsLetter
179152
func SetupGiteaRoot
180153

181154
package "code.gitea.io/gitea/modules/cache"
@@ -185,8 +158,6 @@ package "code.gitea.io/gitea/modules/cache"
185158

186159
package "code.gitea.io/gitea/modules/charset"
187160
func (*BreakWriter).Write
188-
func ToUTF8
189-
func EscapeControlString
190161

191162
package "code.gitea.io/gitea/modules/context"
192163
func GetPrivateContext
@@ -208,7 +179,6 @@ package "code.gitea.io/gitea/modules/git"
208179
func (ErrUnsupportedVersion).Error
209180
func SetUpdateHook
210181
func openRepositoryWithDefaultContext
211-
func GetBranchCommitID
212182
func IsTagExist
213183
func ToEntryMode
214184
func (*LimitedReaderCloser).Read
@@ -217,9 +187,11 @@ package "code.gitea.io/gitea/modules/git"
217187
package "code.gitea.io/gitea/modules/gitgraph"
218188
func (*Parser).Reset
219189

190+
package "code.gitea.io/gitea/modules/gitrepo"
191+
func GetBranchCommitID
192+
220193
package "code.gitea.io/gitea/modules/graceful"
221194
func (*Manager).TerminateContext
222-
func (*Manager).IsTerminate
223195
func (*Manager).Err
224196
func (*Manager).Value
225197
func (*Manager).Deadline
@@ -235,6 +207,7 @@ package "code.gitea.io/gitea/modules/json"
235207
func (StdJSON).Indent
236208

237209
package "code.gitea.io/gitea/modules/markup"
210+
func IsSameDomain
238211
func GetRendererByType
239212
func RenderString
240213
func IsMarkupFile
@@ -308,15 +281,18 @@ package "code.gitea.io/gitea/modules/testlogger"
308281

309282
package "code.gitea.io/gitea/modules/timeutil"
310283
func GetExecutableModTime
311-
func Set
312-
func Unset
284+
func MockSet
285+
func MockUnset
313286

314287
package "code.gitea.io/gitea/modules/translation"
315288
func (MockLocale).Language
316289
func (MockLocale).Tr
317290
func (MockLocale).TrN
318291
func (MockLocale).PrettyNumber
319292

293+
package "code.gitea.io/gitea/modules/util"
294+
func UnsafeStringToBytes
295+
320296
package "code.gitea.io/gitea/modules/util/filebuffer"
321297
func CreateFromReader
322298

@@ -341,14 +317,10 @@ package "code.gitea.io/gitea/services/convert"
341317
package "code.gitea.io/gitea/services/forms"
342318
func (*DeadlineForm).Validate
343319

344-
package "code.gitea.io/gitea/services/packages/alpine"
345-
func BuildAllRepositoryFiles
346-
347320
package "code.gitea.io/gitea/services/pull"
348321
func IsCommitStatusContextSuccess
349322

350323
package "code.gitea.io/gitea/services/repository"
351-
func GetBranchCommitID
352324
func IsErrForkAlreadyExist
353325

354326
package "code.gitea.io/gitea/services/repository/archiver"

0 commit comments

Comments
 (0)