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.
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 | |
---|---|---|
.. | ||
security | 2 years ago | |
account.go | 2 years ago | |
account_test.go | 2 years ago | |
adopt.go | 2 years ago | |
applications.go | 2 years ago | |
keys.go | 2 years ago | |
main_test.go | 2 years ago | |
oauth2.go | 2 years ago | |
oauth2_common.go | 2 years ago | |
packages.go | 2 years ago | |
profile.go | 2 years ago | |
secrets.go | 2 years ago | |
webhooks.go | 2 years ago |