aboutsummaryrefslogtreecommitdiffstats
path: root/modules/repofiles/content_test.go
Commit message (Collapse)AuthorAgeFilesLines
* A better go code formatter, and now `make fmt` can run in Windows (#17684)wxiaoguang2021-11-171-1/+0
| | | | * go build / format tools * re-format imports
* Decouple unit test code from business code (#17623)wxiaoguang2021-11-121-8/+9
|
* Move db related basic functions to models/db (#17075)Lunny Xiao2021-09-191-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * Move db related basic functions to models/db * Fix lint * Fix lint * Fix test * Fix lint * Fix lint * revert unnecessary change * Fix test * Fix wrong replace string * Use *Context * Correct committer spelling and fix wrong replaced words Co-authored-by: zeripath <art27@cantab.net>
* Fix various documentation, user-facing, and source comment typos (#16367)luzpaz2021-07-081-2/+2
| | | | | * Fix various doc, user-facing, and source comment typos Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby`
* prefer NoError/Error over Nil/NotNil (#12271)Stephen Solka2020-07-191-6/+6
|
* Add Close() method to gogitRepository (#8901)zeripath2019-11-131-0/+12
| | | | | | | | | 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
* Fix #8582 by handling empty repos (#8587)Jonas Franz2019-10-191-0/+16
| | | | | | | | | | * Fix #8582 by handling empty repos Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix tests Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fixes #7292 - API File Contents bug (#7301)Richard Mahn2019-06-291-26/+128
|
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-111-3/+3
| | | | | | | | | | | | * move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
* Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314)Richard Mahn2019-04-171-0/+90