0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 14:34:38 +01:00
gitea/services/pull
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
..
check.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
check_test.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
commit_status.go
lfs.go
main_test.go
merge.go
patch.go
pull.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
pull_test.go
review.go Send notifications for mentions in pulls, issues, (code-)comments (#14218) 2021-01-02 18:04:02 +01:00
temp_repo.go
update.go