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 | |
---|---|---|
.. | ||
archiver | 2 years ago | |
files | 2 years ago | |
adopt.go | 2 years ago | |
adopt_test.go | 2 years ago | |
avatar.go | 2 years ago | |
avatar_test.go | 2 years ago | |
branch.go | 2 years ago | |
cache.go | 2 years ago | |
check.go | 2 years ago | |
fork.go | 2 years ago | |
fork_test.go | 2 years ago | |
hooks.go | 2 years ago | |
lfs.go | 2 years ago | |
main_test.go | 2 years ago | |
push.go | 2 years ago | |
repository.go | 2 years ago | |
repository_test.go | 2 years ago | |
review.go | 2 years ago | |
review_test.go | 2 years ago | |
template.go | 2 years ago | |
transfer.go | 2 years ago | |
transfer_test.go | 2 years ago |