1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-10 07:39:15 +00:00
forgejo/routers/web
Gusted 253d9e4158
Remove unnecassary calls to filepath.Join ()
- Partialy resolvess 
- 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
..
admin Decouple unit test code from business code () 2021-11-12 22:36:47 +08:00
dev Refactor routers directory () 2021-06-09 01:33:54 +02:00
events Move login related structs and functions to models/login () 2021-09-24 19:32:56 +08:00
explore Move unit into models/unit/ () 2021-11-09 20:57:58 +01:00
feed Fix mispelling of starred as stared () 2021-10-28 15:05:00 +08:00
org Move webhook into models/webhook/ () 2021-11-10 13:13:16 +08:00
repo Correctly handle failed migrations () 2021-11-13 19:28:50 +08:00
user Remove unnecassary calls to filepath.Join () 2021-11-15 14:02:53 +08:00
base.go Use a variable but a function for IsProd because of a slight performance increment () 2021-10-20 16:37:19 +02:00
goget.go Related refactors to ctx.FormX functions () 2021-08-11 18:08:52 +03:00
home.go Refactor routers directory () 2021-06-09 01:33:54 +02:00
metrics.go Refactor routers directory () 2021-06-09 01:33:54 +02:00
nodeinfo.go Add nodeinfo endpoint for federation purposes () 2021-09-28 01:38:06 +02:00
swagger_json.go Refactor routers directory () 2021-06-09 01:33:54 +02:00
web.go Move unit into models/unit/ () 2021-11-09 20:57:58 +01:00