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.
forgejo/services
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>
1 year ago
..
agit Rename almost all Ctx functions (#22071) 2 years ago
asymkey Supports wildcard protected branch (#20825) 1 year ago
attachment Add API management for issue/pull and comment attachments (#21783) 2 years ago
auth Improve utils of slices (#22379) 2 years ago
automerge refactor some functions to support ctx as first parameter (#21878) 2 years ago
context Implement FSFE REUSE for golang files (#21840) 2 years ago
convert Supports wildcard protected branch (#20825) 1 year ago
cron Add doctor command for full GC of LFS (#21978) 2 years ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Supports wildcard protected branch (#20825) 1 year ago
gitdiff Implement FSFE REUSE for golang files (#21840) 2 years ago
issue Always reuse transaction (#22362) 2 years ago
lfs Use context parameter in models/git (#22367) 2 years ago
mailer Add support for incoming emails (#22056) 2 years ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Update golang deps (#22410) 2 years ago
mirror Implement FSFE REUSE for golang files (#21840) 2 years ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages refactor auth interface to return error when verify failure (#22119) 2 years ago
pull Supports wildcard protected branch (#20825) 1 year ago
release Add API management for issue/pull and comment attachments (#21783) 2 years ago
repository Change use of Walk to WalkDir to improve disk performance (#22462) 1 year ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user Unify hashing for avatar (#22289) 2 years ago
webhook fix: omit avatar_url in discord payload when empty (#22393) 2 years ago
wiki Improve utils of slices (#22379) 2 years ago