Commit graph

6 commits

Author SHA1 Message Date
Stephen Solka
54513452a1
prefer NoError/Error over Nil/NotNil () 2020-07-19 12:53:40 +03:00
zeripath
722a7c902d
Add Close() method to gogitRepository ()
In investigating  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 
2019-11-13 07:01:19 +00:00
Jonas Franz
b2b9bdaf26 Fix by handling empty repos ()
* Fix  by handling empty repos

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>
2019-10-19 23:38:49 +08:00
Richard Mahn
cd96dee982 Fixes - API File Contents bug () 2019-06-29 16:51:10 -04:00
Lunny Xiao
34eee25bd4
Move sdk structs to modules/structs ()
* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor
2019-05-11 18:21:34 +08:00
Richard Mahn
2262811e40 Fixes 4762 - Content API for Creating, Updating, Deleting Files () 2019-04-17 12:06:35 -04:00