gitea/modules/repository
Felipe Leopoldo Sologuren Gutiérrez 04c97aa364
Change use of Walk to WalkDir to improve disk performance ()
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>
..
collaborator.go Always reuse transaction ()
collaborator_test.go Rename almost all Ctx functions ()
commits.go Implement FSFE REUSE for golang files ()
commits_test.go Implement FSFE REUSE for golang files ()
create.go Fix error when calculate the repository size ()
create_test.go Fix error when calculate the repository size ()
delete.go Implement FSFE REUSE for golang files ()
env.go Implement FSFE REUSE for golang files ()
fork.go Implement FSFE REUSE for golang files ()
generate.go Change use of Walk to WalkDir to improve disk performance ()
generate_test.go Implement FSFE REUSE for golang files ()
hooks.go Implement FSFE REUSE for golang files ()
init.go Improve utils of slices ()
main_test.go Implement FSFE REUSE for golang files ()
push.go Implement FSFE REUSE for golang files ()
repo.go Use context parameter in models/git ()
temp.go Implement FSFE REUSE for golang files ()