1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/repofiles
6543 78e8f62706
[Refactor] remove possible resource leak (#15067)
* move "copy uploaded lfs files 2 repo" to own function for "defer file.Close()"

* rm type overload

* Update modules/repofiles/upload.go

Co-authored-by: zeripath <art27@cantab.net>
2021-03-21 00:30:29 +08:00
..
action_test.go Move all push update operations to a queue (#10133) 2020-09-11 10:14:48 -04:00
action.go Move all push update operations to a queue (#10133) 2020-09-11 10:14:48 -04:00
blob_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
blob.go
commit_status.go
commit.go
content_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
content.go
delete.go enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
diff_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
diff.go
file_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
file.go
repofiles_test.go
repofiles.go
temp_repo.go remove duplicate define of CheckAttribute() (#14837) 2021-03-01 14:14:17 +02:00
tree_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
tree.go
update.go remove duplicate define of CheckAttribute() (#14837) 2021-03-01 14:14:17 +02:00
upload.go [Refactor] remove possible resource leak (#15067) 2021-03-21 00:30:29 +08:00
verification.go