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/modules/repofiles
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
..
action.go Add Close() method to gogitRepository (#8901) 5 years ago
action_test.go Add file status on API (#7671) 5 years ago
blob.go Add Close() method to gogitRepository (#8901) 5 years ago
blob_test.go Add Close() method to gogitRepository (#8901) 5 years ago
commit.go Number of commits ahead/behind in branch overview (#6695) 5 years ago
commit_status.go Add Close() method to gogitRepository (#8901) 5 years ago
content.go Add Close() method to gogitRepository (#8901) 5 years ago
content_test.go Add Close() method to gogitRepository (#8901) 5 years ago
delete.go Fix duplicate call of webhook (#7821) 5 years ago
diff.go Move git diff codes from models to services/gitdiff (#7889) 5 years ago
diff_test.go Add Close() method to gogitRepository (#8901) 5 years ago
file.go Fixes #7292 - API File Contents bug (#7301) 5 years ago
file_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repofiles.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
repofiles_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
temp_repo.go Add Close() method to gogitRepository (#8901) 5 years ago
tree.go Add Close() method to gogitRepository (#8901) 5 years ago
tree_test.go Add Close() method to gogitRepository (#8901) 5 years ago
update.go Add Close() method to gogitRepository (#8901) 5 years ago
upload.go Prevent upload (overwrite) of lfs locked file (#8769) 5 years ago
verification.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago