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.
gitea/routers/web
Felipe Leopoldo Sologuren Gutiérrez 04c97aa364
Change use of Walk to WalkDir to improve disk performance (#22462)
As suggest by Go developers, use `filepath.WalkDir` instead of
`filepath.Walk` because [*Walk is less efficient than WalkDir,
introduced in Go 1.16, which avoids calling `os.Lstat` on every file or
directory visited](https://pkg.go.dev/path/filepath#Walk).

This proposition address that, in a similar way as
https://github.com/go-gitea/gitea/pull/22392 did.


Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
admin Use dynamic package type list (#22263) 2 years ago
auth Replace deprecated Webauthn library (#22400) 2 years ago
events Implement FSFE REUSE for golang files (#21840) 2 years ago
explore Move `convert` package to services (#22264) 2 years ago
feed Add Feed for Releases and Tags (#21696) 2 years ago
healthcheck Implement FSFE REUSE for golang files (#21840) 2 years ago
misc Implement FSFE REUSE for golang files (#21840) 2 years ago
org Move `convert` package to services (#22264) 2 years ago
repo Supports wildcard protected branch (#20825) 2 years ago
shared/packages Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
user Change use of Walk to WalkDir to improve disk performance (#22462) 2 years ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Implement FSFE REUSE for golang files (#21840) 2 years ago
goget.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
home.go Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger_json.go Implement FSFE REUSE for golang files (#21840) 2 years ago
web.go Supports wildcard protected branch (#20825) 2 years ago
webfinger.go Implement FSFE REUSE for golang files (#21840) 2 years ago