0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 00:44:15 -05:00
forgejo/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.go Move all push update operations to a queue (#10133) 2020-09-11 10:14:48 -04:00
action_test.go Move all push update operations to a queue (#10133) 2020-09-11 10:14:48 -04:00
blob.go
blob_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
commit.go
commit_status.go
content.go Fix GetContents(): Dont't ignore Executables (#11192) 2020-04-24 19:20:22 +03:00
content_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
delete.go enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
diff.go
diff_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
file.go
file_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
repofiles.go
repofiles_test.go
temp_repo.go remove duplicate define of CheckAttribute() (#14837) 2021-03-01 14:14:17 +02:00
tree.go
tree_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
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