forgejo/modules/repository
6543 0d1444751f
[API] Add pagination to ListBranches (#14524)
* make PaginateUserSlice generic -> PaginateSlice

* Add pagination to ListBranches

* add skip, limit to Repository.GetBranches()

* Move routers/api/v1/utils/utils PaginateSlice -> modules/util/paginate.go

* repo_module.GetBranches paginate

* fix & rename & more logging

* better description

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: a1012112796 <1012112796@qq.com>
2021-02-03 20:06:13 +01:00
..
adopt.go
branch.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
cache.go Use native git variants by default with go-git variants as build tag (#13673) 2020-12-17 22:00:47 +08:00
check.go
commits.go
commits_test.go
create.go Check if label template exist first (#14384) 2021-01-18 21:00:50 +01:00
create_test.go
fork.go
fork_test.go
generate.go
hooks.go
init.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
main_test.go
push.go
repo.go Add MirrorInterval to the API (#14163) 2021-01-02 18:47:47 -05:00
update.go