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.
forgejo/routers
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
1 year ago
..
api Fix unclear `IsRepositoryExist` logic (#24374) 1 year ago
common Refactor "route" related code, fix Safari cookie bug (#24330) 1 year ago
install Refactor "route" related code, fix Safari cookie bug (#24330) 1 year ago
private Refactor web route (#24080) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Fix unclear `IsRepositoryExist` logic (#24374) 1 year ago
init.go Refactor "route" related code, fix Safari cookie bug (#24330) 1 year ago