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.
gitea/docs/content/doc/advanced
zeripath 3497efac4a
Add Close() method to gogitRepository (#8901) (#8956)
Backport #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
..
api-usage.en-us.md DOCS: add mention of swagger api reference (#8452) 5 years ago
api-usage.zh-cn.md Adapt documentation to renamed ENABLE_SWAGGER option (#5811) 6 years ago
ci-cd.en-us.md Add buildbot CI (#8378) 5 years ago
config-cheat-sheet.en-us.md Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) (#8618) 5 years ago
config-cheat-sheet.zh-cn.md Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 5 years ago
customizing-gitea.en-us.md Remove unnecessary backslash (#8249) 6 years ago
customizing-gitea.zh-cn.md Fix translation errors in doc advanced part (zh-cn) (#5112) 6 years ago
external-renderers.en-us.md [docs] Docker build - ZeroMQ dependency for Jupyter (#8262) 6 years ago
hacking-on-gitea.en-us.md Add 'make revive' to instructions for checking code (#8314) 5 years ago
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
logging-documentation.en-us.md Move serv hook functionality & drop GitLogger (#6993) 6 years ago
make.en-us.md General documentation cleanup (#3317) 7 years ago
make.fr-fr.md General documentation cleanup (#3317) 7 years ago
make.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
migrations.en-us.md Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
oauth2-provider.md Add oauth2 documentation (#6604) 6 years ago
repo-indexer.en-us.md Restrict repository indexing by glob match (#7767) 6 years ago
specific-variables.en-us.md Copyedit docs (#6275) 6 years ago
specific-variables.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
third-party-tools.en-us.md Update third-party-tools.en-us.md (#8148) 6 years ago