mirror of
1
Fork 0
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 Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
blob_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
commit.go Number of commits ahead/behind in branch overview (#6695) 2019-05-05 19:25:25 +03:00
commit_status.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
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 Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
diff_test.go prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00
file.go File Edit: Author/Committer interchanged [BugFix] (#9297) 2019-12-09 21:11:24 +08:00
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 fixed bug in GitTreeBySHA where pulling items from a page other than page 1 would fail because the wrong var was used to set the entries to return (#9459) 2019-12-22 00:16:21 +00:00
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 Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00