gitea/modules/repository
Gusted 253d9e4158
Remove unnecassary calls to `filepath.Join` (#17608)
- Partialy resolvess #17596
- Resolves `badCall` errors from go-critic `badCall: suspicious Join on
1 argument`
- When only 1 argument is passed into `filepath.Join`, it won't do
anything special other than `filepath.Clean(...)` will be applied over
it.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2021-11-15 14:02:53 +08:00
..
adopt.go Remove unnecassary calls to `filepath.Join` (#17608) 2021-11-15 14:02:53 +08:00
archive.go Fix archive error when rename repo or user (#16399) 2021-07-13 14:16:31 +02:00
branch.go
cache.go
check.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
commits.go Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 2021-10-06 01:25:46 +02:00
commits_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
create.go Ensure that git daemon export ok is created for mirrors (#17243) 2021-10-13 20:47:02 +01:00
create_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
fork.go Ensure that git daemon export ok is created for mirrors (#17243) 2021-10-13 20:47:02 +01:00
fork_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
generate.go Ensure that git daemon export ok is created for mirrors (#17243) 2021-10-13 20:47:02 +01:00
hooks.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
init.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
push.go
repo.go Ensure that git daemon export ok is created for mirrors (#17243) 2021-10-13 20:47:02 +01:00
update.go DBContext is just a Context (#17100) 2021-09-23 23:45:36 +08:00