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.
gitea/routers/api/v1/admin
wxiaoguang a6450494c3
Fix unclear `IsRepositoryExist` logic (#24374)
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
..
adopt.go Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
cron.go Implement FSFE REUSE for golang files (#21840) 2 years ago
email.go add admin API email endpoints (#22792) 2 years ago
hooks.go Fix typo in API route (#24310) 2 years ago
org.go Add context cache as a request level cache (#22294) 2 years ago
repo.go Handle missing `README` in create repos API (#23387) 2 years ago
user.go Add login name and source id for admin user searching API (#23376) 2 years ago