gitea/modules/base
6543 4160bd6ef1
Remove Unused Functions ()
* remove ReplaceLeft

* remove GetRepositoryByOwnerAndName chainload to models.GetRepositoryByOwnerAndName

* remove CheckUnitUser chainload to models.CheckUnitUser

* remove MakeAssigneeList

* remove DownloadDiff & DownloadPatch -> DownloadDiffOrPatch

* remove GetRandomBytesAsBase64

* remove PushUpdateDeleteTags

* remove GetUserByKeyID
(you still can resolve user by "k, err := GetPublicKeyByID; userID := k.OwnerID")

* remove BasicAuthEncode from struct package -> same function in modules/base/tools !

* remove UserID from api.utils

* remove unused func from structs package
..
base.go API error cleanup ()
natural_sort.go Sort repository tree entries in natural way ()
natural_sort_test.go Sort repository tree entries in natural way ()
tool.go Remove Unused Functions ()
tool_test.go Show download count info in release list ()