forgejo/modules/repository
wxiaoguang 4f5122a7fe
Ignore "non-existing" errors when getDirectorySize calculates the size (#28276) (#28285)
Backport #28276

The git command may operate the git directory (add/remove) files in any
time.

So when the code iterates the directory, some files may disappear during
the "walk". All "IsNotExist" errors should be ignored.
2023-11-30 16:39:16 +00:00
..
branch.go
collaborator.go
collaborator_test.go
commits.go
commits_test.go
create.go
create_test.go
delete.go
env.go
fork.go
generate.go
generate_test.go
hooks.go
init.go
init_test.go
license.go
license_test.go
main_test.go
push.go
repo.go
temp.go