You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
5 years ago
..
blob.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
branch.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
collaborators.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
commits.go Add Close() method to gogitRepository (#8901) 5 years ago
file.go Add Close() method to gogitRepository (#8901) 5 years ago
fork.go Move some repositories' operations to a standalone service package (#8557) 5 years ago
git_hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
git_ref.go Add Close() method to gogitRepository (#8901) 5 years ago
hook.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
hook_test.go API endpoint for testing webhook (#3550) 6 years ago
issue.go Fix API deadline removal (#8759) 5 years ago
issue_comment.go Move webhook codes from service to webhook notification (#8712) 5 years ago
issue_label.go Move issue label operations to issue service package (#8553) 5 years ago
issue_subscription.go Add API for Issue set Subscription (#8729) 5 years ago
issue_tracked_time.go Use gitea forked macaron (#7933) 5 years ago
key.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
label.go Use gitea forked macaron (#7933) 5 years ago
main_test.go API endpoint for testing webhook (#3550) 6 years ago
milestone.go Display ui time with customize time location (#7792) 5 years ago
pull.go Add Close() method to gogitRepository (#8901) 5 years ago
release.go Extract actions on deletereleasebyid from models to release service (#8219) 5 years ago
release_attachment.go Fix API for edit and delete release attachment (#8285) 5 years ago
repo.go Template Repositories (#8768) 5 years ago
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 5 years ago
star.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
status.go Use gitea forked macaron (#7933) 5 years ago
subscriber.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
tag.go Add Close() method to gogitRepository (#8901) 5 years ago
topic.go Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
tree.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago