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.
forgejo/cmd
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
..
admin.go Add Close() method to gogitRepository (#8901) 5 years ago
admin_auth_ldap.go Add CLI commands to manage LDAP authentication source (#6681) 5 years ago
admin_auth_ldap_test.go Add CLI commands to manage LDAP authentication source (#6681) 5 years ago
cert.go Add golangci (#6418) 5 years ago
cmd.go Move database settings from models to setting (#7806) 5 years ago
convert.go Move database settings from models to setting (#7806) 5 years ago
dump.go Move database settings from models to setting (#7806) 5 years ago
generate.go Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826) 5 years ago
hook.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
keys.go Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631) 5 years ago
migrate.go Move database settings from models to setting (#7806) 5 years ago
serv.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
web.go Graceful fixes (#8645) 5 years ago
web_graceful.go Restore Graceful Restarting & Socket Activation (#7274) 5 years ago
web_windows.go Restore Graceful Restarting & Socket Activation (#7274) 5 years ago