package
gitea.dev/services/context
third-party27 third-party functions from gitea.dev/services/context, ranked by how often they are called outside tests and generated code.
- prod calls
- 8,408
- non-test, non-generated
- all calls
- 8,418
- total callsites
- functions
- 27
- ranked in this snapshot
- origin
- ext
- third-party
members
Functions in gitea.dev/services/context
Ranked by production calls. The bar scales each function against the busiest in this package.
| Function | Prod calls |
|---|---|
| Context.ServerError | 1,242 |
| Base.Tr | 914 |
| APIContext.APIErrorInternal | 821 |
| Base.JSON | 602 |
| APIContext.APIError | 511 |
| Base.PathParam | 484 |
| Base.FormString | 340 |
| Base.Redirect | 323 |
| Base.Written | 316 |
| Context.HTML | 282 |
| Base.HTTPError | 261 |
| Base.Status | 258 |
| Context.NotFound | 238 |
| Base.PathParamInt64 | 223 |
| APIContext.APIErrorNotFound | 215 |
| Context.RenderWithErrDeprecated | 183 |
| Context.JSONError | 178 |
| GetValidateContext | 146 |
| Context.JSONRedirect | 140 |
| Base.FormTrim | 109 |
| Base.FormInt | 107 |
| Base.FormBool | 101 |
| NewPagination | 93 |
| Base.FormInt64 | 91 |
| Base.SetTotalCountHeader | 91 |
| RepoRefByType | 72 |
| Context.HasError | 67 |