You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/convert
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
4 years ago
..
convert.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
git_commit.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
git_commit_test.go Use native git variants by default with go-git variants as build tag (#13673) 4 years ago
issue.go [API] Add Ref to Issue (#13946) 4 years ago
issue_comment.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
issue_test.go Add Created & Updated to Milestone (#12662) 4 years ago
main_test.go Move pull request api convert to convert package (#9664) 5 years ago
notification.go Move Repo APIFormat to convert package (#13787) 4 years ago
pull.go Move Repo APIFormat to convert package (#13787) 4 years ago
pull_review.go Add review request api (#11355) 4 years ago
pull_test.go Move Repo APIFormat to convert package (#13787) 4 years ago
release.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
repository.go issue #12450: return original URL in `original_url` JSON field (#13885) 4 years ago
status.go [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 4 years ago
user.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
user_test.go [Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
utils.go [API] Migration: Change ServiceType String (#12672) 4 years ago