forgejo/routers/repo
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901)
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.

This PR adds this Close function and adds the Close functions as necessary.

In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.

Fixes #7947
2019-11-13 07:01:19 +00:00
..
activity.go Add additional periods to activity page (#8829) 2019-11-05 00:45:48 -05:00
attachment.go Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
blame.go Respect LFS File Lock on UI (#8719) 2019-10-29 23:32:21 +02:00
branch.go [Branch View] Add Included TAG (#8449) 2019-10-14 23:40:17 +01:00
commit.go Fix count for commit graph last page (#8843) 2019-11-07 20:09:51 +02:00
compare.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
download.go Add missed close in ServeBlobLFS (#8527) 2019-10-16 06:55:31 +01:00
editor.go Prevent upload (overwrite) of lfs locked file (#8769) 2019-11-02 15:37:05 +08:00
editor_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
http.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
issue.go Move issue milestone assign to issue service and move webhook to notification (#8780) 2019-11-02 11:33:20 +08:00
issue_dependency.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
issue_label.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
main_test.go
middlewares.go
milestone.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
pull.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
pull_review.go Fix review webhooks (#8570) 2019-10-18 16:33:19 +08:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
release_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
repo.go Template Repositories (#8768) 2019-11-11 23:15:29 +08:00
search.go
setting.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
setting_protected_branch.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
settings_test.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
view.go Respect LFS File Lock on UI (#8719) 2019-10-29 23:32:21 +02:00
webhook.go Move more webhook codes from models to webhook module (#8802) 2019-11-03 22:13:25 +00:00
wiki.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
wiki_test.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00