0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-14 08:45:52 +01:00
gitea/routers/api/v1/repo
6543 e483220ea3
[Refactor] CombinedStatus and CommitStatus related functions & structs (#14026)
* RM unused struct

* rename (*CommitStatus) loadRepo() -> loadAttributes()

* move ToCommitStatus into its own file

* use CommitStatusState instead of StatusState

* move CombinedStatus convertion into convert package

* let models.GetLatestCommitStatus use repoID direct and accept ListOptions

* update swagger docs

* fix tests

* Fix swagger docs

* rm page

* fix swagger docs!!!

* return json null

* always return json

* rename api.Status to api.CommitStatus

* fix swagger docs

* sec swagger fix
2020-12-18 11:33:32 +08:00
..
blob.go
branch.go Add block on official review requests branch protection (#13705) 2020-11-28 21:30:46 +02:00
collaborators.go
commits.go
file.go
fork.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
git_hook.go
git_ref.go
hook.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
hook_test.go
issue.go [API] Add ref to create/edit issue options & deprecated assignee (#13992) 2020-12-15 19:38:10 +01:00
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
key.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
label.go
language.go
main_test.go
migrate.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
milestone.go
mirror.go
pull.go
pull_review.go
release.go
release_attachment.go
release_tags.go
repo.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
repo_test.go
star.go
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
subscriber.go
tag.go
topic.go
transfer.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
tree.go