mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a6450494c3
There was only one `IsRepositoryExist` function, it did: `has && isDir` However it's not right, and it would cause 500 error when creating a new repository if the dir exists. Then, it was changed to `has || isDir`, it is still incorrect, it affects the "adopt repo" logic. To make the logic clear: * IsRepositoryModelOrDirExist * IsRepositoryModelExist |
2 years ago | |
---|---|---|
.. | ||
admin.go | 2 years ago | |
admin_test.go | 2 years ago | |
applications.go | 2 years ago | |
auths.go | 2 years ago | |
config.go | 2 years ago | |
emails.go | 2 years ago | |
hooks.go | 2 years ago | |
main_test.go | 2 years ago | |
notice.go | 2 years ago | |
orgs.go | 2 years ago | |
packages.go | 2 years ago | |
repos.go | 2 years ago | |
runners.go | 2 years ago | |
users.go | 2 years ago | |
users_test.go | 2 years ago |