mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 07:13:02 -05:00
75bbca68ce
1. use clearer names 2. remove deadcode 3. avoid name shadowing 4. eliminate some lint warnings (cherry picked from commit 5a7376c0605415e63cb5b3b8f89ead01e567229b) Conflicts: modules/markup/html.go simple code divergence, trivial logic
350 lines
6.6 KiB
Text
350 lines
6.6 KiB
Text
code.gitea.io/gitea/cmd
|
|
NoMainListener
|
|
|
|
code.gitea.io/gitea/cmd/forgejo
|
|
ContextSetNoInit
|
|
ContextSetNoExit
|
|
ContextSetStderr
|
|
ContextGetStderr
|
|
ContextSetStdout
|
|
ContextSetStdin
|
|
|
|
code.gitea.io/gitea/models
|
|
IsErrUpdateTaskNotExist
|
|
ErrUpdateTaskNotExist.Error
|
|
ErrUpdateTaskNotExist.Unwrap
|
|
IsErrSHANotFound
|
|
IsErrMergeDivergingFastForwardOnly
|
|
GetYamlFixturesAccess
|
|
|
|
code.gitea.io/gitea/models/actions
|
|
ScheduleList.GetUserIDs
|
|
ScheduleList.GetRepoIDs
|
|
ScheduleList.LoadTriggerUser
|
|
ScheduleList.LoadRepos
|
|
|
|
code.gitea.io/gitea/models/asymkey
|
|
ErrGPGKeyAccessDenied.Error
|
|
ErrGPGKeyAccessDenied.Unwrap
|
|
HasDeployKey
|
|
|
|
code.gitea.io/gitea/models/auth
|
|
GetSourceByName
|
|
GetWebAuthnCredentialByID
|
|
WebAuthnCredentials
|
|
|
|
code.gitea.io/gitea/models/db
|
|
TruncateBeans
|
|
InTransaction
|
|
DumpTables
|
|
|
|
code.gitea.io/gitea/models/dbfs
|
|
file.renameTo
|
|
Create
|
|
Rename
|
|
|
|
code.gitea.io/gitea/models/forgefed
|
|
GetFederationHost
|
|
|
|
code.gitea.io/gitea/models/forgejo/semver
|
|
GetVersion
|
|
SetVersionString
|
|
SetVersion
|
|
|
|
code.gitea.io/gitea/models/git
|
|
RemoveDeletedBranchByID
|
|
|
|
code.gitea.io/gitea/models/issues
|
|
IsErrUnknownDependencyType
|
|
ErrNewIssueInsert.Error
|
|
IsErrIssueWasClosed
|
|
ChangeMilestoneStatus
|
|
|
|
code.gitea.io/gitea/models/migrations/base
|
|
removeAllWithRetry
|
|
newXORMEngine
|
|
deleteDB
|
|
PrepareTestEnv
|
|
MainTest
|
|
|
|
code.gitea.io/gitea/models/organization
|
|
GetTeamNamesByID
|
|
UpdateTeamUnits
|
|
SearchMembersOptions.ToConds
|
|
UsersInTeamsCount
|
|
|
|
code.gitea.io/gitea/models/perm/access
|
|
GetRepoWriters
|
|
|
|
code.gitea.io/gitea/models/project
|
|
UpdateColumnSorting
|
|
ChangeProjectStatus
|
|
|
|
code.gitea.io/gitea/models/repo
|
|
DeleteAttachmentsByIssue
|
|
releaseSorter.Len
|
|
releaseSorter.Less
|
|
releaseSorter.Swap
|
|
SortReleases
|
|
FindReposMapByIDs
|
|
IsErrTopicNotExist
|
|
ErrTopicNotExist.Error
|
|
ErrTopicNotExist.Unwrap
|
|
GetTopicByName
|
|
WatchRepoMode
|
|
|
|
code.gitea.io/gitea/models/unittest
|
|
CheckConsistencyFor
|
|
checkForConsistency
|
|
GetXORMEngine
|
|
OverrideFixtures
|
|
InitFixtures
|
|
LoadFixtures
|
|
Copy
|
|
CopyDir
|
|
NewMockWebServer
|
|
NormalizedFullPath
|
|
FixturesDir
|
|
fatalTestError
|
|
InitSettings
|
|
MainTest
|
|
CreateTestEngine
|
|
PrepareTestDatabase
|
|
PrepareTestEnv
|
|
Cond
|
|
OrderBy
|
|
LoadBeanIfExists
|
|
BeanExists
|
|
AssertExistsAndLoadBean
|
|
GetCount
|
|
AssertNotExistsBean
|
|
AssertExistsIf
|
|
AssertSuccessfulInsert
|
|
AssertCount
|
|
AssertInt64InRange
|
|
|
|
code.gitea.io/gitea/models/user
|
|
IsErrPrimaryEmailCannotDelete
|
|
ErrUserInactive.Error
|
|
ErrUserInactive.Unwrap
|
|
IsErrExternalLoginUserAlreadyExist
|
|
IsErrExternalLoginUserNotExist
|
|
NewFederatedUser
|
|
IsErrUserSettingIsNotExist
|
|
GetUserAllSettings
|
|
DeleteUserSetting
|
|
GetUserEmailsByNames
|
|
GetUserNamesByIDs
|
|
|
|
code.gitea.io/gitea/modules/assetfs
|
|
Bindata
|
|
|
|
code.gitea.io/gitea/modules/auth/password/hash
|
|
DummyHasher.HashWithSaltBytes
|
|
NewDummyHasher
|
|
|
|
code.gitea.io/gitea/modules/auth/password/pwn
|
|
WithHTTP
|
|
|
|
code.gitea.io/gitea/modules/base
|
|
SetupGiteaRoot
|
|
|
|
code.gitea.io/gitea/modules/cache
|
|
GetInt
|
|
WithNoCacheContext
|
|
RemoveContextData
|
|
|
|
code.gitea.io/gitea/modules/charset
|
|
BreakWriter.Write
|
|
|
|
code.gitea.io/gitea/modules/emoji
|
|
ReplaceCodes
|
|
|
|
code.gitea.io/gitea/modules/eventsource
|
|
Event.String
|
|
|
|
code.gitea.io/gitea/modules/forgefed
|
|
GetItemByType
|
|
JSONUnmarshalerFn
|
|
NotEmpty
|
|
ToRepository
|
|
OnRepository
|
|
|
|
code.gitea.io/gitea/modules/git
|
|
AllowLFSFiltersArgs
|
|
AddChanges
|
|
AddChangesWithArgs
|
|
CommitChanges
|
|
CommitChangesWithArgs
|
|
IsErrExecTimeout
|
|
ErrExecTimeout.Error
|
|
ErrUnsupportedVersion.Error
|
|
SetUpdateHook
|
|
openRepositoryWithDefaultContext
|
|
IsTagExist
|
|
ToEntryMode
|
|
LimitedReaderCloser.Read
|
|
LimitedReaderCloser.Close
|
|
|
|
code.gitea.io/gitea/modules/gitgraph
|
|
Parser.Reset
|
|
|
|
code.gitea.io/gitea/modules/gitrepo
|
|
GetBranchCommitID
|
|
GetWikiDefaultBranch
|
|
|
|
code.gitea.io/gitea/modules/graceful
|
|
Manager.TerminateContext
|
|
Manager.Err
|
|
Manager.Value
|
|
Manager.Deadline
|
|
|
|
code.gitea.io/gitea/modules/hcaptcha
|
|
WithHTTP
|
|
|
|
code.gitea.io/gitea/modules/json
|
|
StdJSON.Marshal
|
|
StdJSON.Unmarshal
|
|
StdJSON.NewEncoder
|
|
StdJSON.NewDecoder
|
|
StdJSON.Indent
|
|
|
|
code.gitea.io/gitea/modules/markup
|
|
GetRendererByType
|
|
RenderString
|
|
IsMarkupFile
|
|
|
|
code.gitea.io/gitea/modules/markup/console
|
|
Render
|
|
RenderString
|
|
|
|
code.gitea.io/gitea/modules/markup/markdown
|
|
IsDetails
|
|
IsSummary
|
|
IsTaskCheckBoxListItem
|
|
IsIcon
|
|
RenderRawString
|
|
|
|
code.gitea.io/gitea/modules/markup/markdown/math
|
|
WithInlineDollarParser
|
|
WithBlockDollarParser
|
|
|
|
code.gitea.io/gitea/modules/markup/mdstripper
|
|
stripRenderer.AddOptions
|
|
StripMarkdown
|
|
|
|
code.gitea.io/gitea/modules/markup/orgmode
|
|
RenderString
|
|
|
|
code.gitea.io/gitea/modules/private
|
|
ActionsRunnerRegister
|
|
|
|
code.gitea.io/gitea/modules/process
|
|
Manager.ExecTimeout
|
|
|
|
code.gitea.io/gitea/modules/queue
|
|
newBaseChannelSimple
|
|
newBaseChannelUnique
|
|
newBaseRedisSimple
|
|
newBaseRedisUnique
|
|
testStateRecorder.Records
|
|
testStateRecorder.Reset
|
|
newWorkerPoolQueueForTest
|
|
|
|
code.gitea.io/gitea/modules/queue/lqinternal
|
|
QueueItemIDBytes
|
|
QueueItemKeyBytes
|
|
ListLevelQueueKeys
|
|
|
|
code.gitea.io/gitea/modules/setting
|
|
NewConfigProviderFromData
|
|
GitConfigType.GetOption
|
|
InitLoggersForTest
|
|
|
|
code.gitea.io/gitea/modules/storage
|
|
ErrInvalidConfiguration.Error
|
|
IsErrInvalidConfiguration
|
|
|
|
code.gitea.io/gitea/modules/structs
|
|
ParseCreateHook
|
|
ParsePushHook
|
|
|
|
code.gitea.io/gitea/modules/sync
|
|
StatusTable.Start
|
|
StatusTable.IsRunning
|
|
|
|
code.gitea.io/gitea/modules/testlogger
|
|
testLoggerWriterCloser.pushT
|
|
testLoggerWriterCloser.Log
|
|
testLoggerWriterCloser.recordError
|
|
testLoggerWriterCloser.printMsg
|
|
testLoggerWriterCloser.popT
|
|
testLoggerWriterCloser.Reset
|
|
PrintCurrentTest
|
|
Printf
|
|
NewTestLoggerWriter
|
|
TestLogEventWriter.Base
|
|
TestLogEventWriter.GetLevel
|
|
TestLogEventWriter.GetWriterName
|
|
TestLogEventWriter.GetWriterType
|
|
TestLogEventWriter.Run
|
|
|
|
code.gitea.io/gitea/modules/timeutil
|
|
GetExecutableModTime
|
|
MockSet
|
|
MockUnset
|
|
|
|
code.gitea.io/gitea/modules/translation
|
|
MockLocale.Language
|
|
MockLocale.TrString
|
|
MockLocale.Tr
|
|
MockLocale.TrN
|
|
MockLocale.TrSize
|
|
MockLocale.PrettyNumber
|
|
|
|
code.gitea.io/gitea/modules/util/filebuffer
|
|
CreateFromReader
|
|
|
|
code.gitea.io/gitea/modules/validation
|
|
IsErrNotValid
|
|
|
|
code.gitea.io/gitea/modules/web
|
|
RouteMock
|
|
RouteMockReset
|
|
|
|
code.gitea.io/gitea/modules/web/middleware
|
|
DeleteLocaleCookie
|
|
|
|
code.gitea.io/gitea/routers/web
|
|
NotFound
|
|
|
|
code.gitea.io/gitea/routers/web/org
|
|
MustEnableProjects
|
|
|
|
code.gitea.io/gitea/services/context
|
|
GetPrivateContext
|
|
|
|
code.gitea.io/gitea/services/convert
|
|
ToSecret
|
|
|
|
code.gitea.io/gitea/services/forms
|
|
DeadlineForm.Validate
|
|
|
|
code.gitea.io/gitea/services/pull
|
|
IsCommitStatusContextSuccess
|
|
|
|
code.gitea.io/gitea/services/repository
|
|
IsErrForkAlreadyExist
|
|
|
|
code.gitea.io/gitea/services/repository/archiver
|
|
ArchiveRepository
|
|
|
|
code.gitea.io/gitea/services/repository/files
|
|
ContentType.String
|
|
GetFileResponseFromCommit
|
|
TemporaryUploadRepository.GetLastCommit
|
|
TemporaryUploadRepository.GetLastCommitByRef
|
|
|
|
code.gitea.io/gitea/services/webhook
|
|
NewNotifier
|
|
|