0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 14:34:38 +01:00
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
branch.go
cache.go
check.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
commits.go
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
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