forgejo/services/repository
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744)
* Refactor the fork service slightly to take ForkRepoOptions

This reduces the number of places we need to change if we want to add other
options during fork time.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* Fix integrations and tests after ForkRepository refactor

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* Update OldRepo -> BaseRepo

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* gofmt pass

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
2021-08-28 16:37:14 +08:00
..
branch.go Small refactoring of modules/private (#15947) 2021-06-23 15:38:19 -04:00
generate.go add permission check for `GenerateRepository` (#15946) 2021-05-27 12:08:46 -04:00
main_test.go
push.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
repository.go Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
transfer.go
transfer_test.go